davee_x

导航

上一页 1 2 3 4 5 6 7 ··· 9 下一页

2015年7月28日 #

单独编译源码树下的模块

摘要: >假设想单独编译ext4模块,当前内核编译配置是不支持ext4或ext4编译为模块###当然,ext4对内核版本的依赖成都比较高,比如你在3.8下编译3.10的实现几乎是不可能的1,到相应的源码目录下,查看Makefile,确定要编译模块在内核配置中的变量名。ext4实现目录下的Makefile文件... 阅读全文

posted @ 2015-07-28 14:17 Wigde.Xiao 阅读(274) 评论(0) 推荐(0) 编辑

2015年6月24日 #

内核模块开机自动加载和黑名单

摘要: 1,自动加载 # 这个脚本会先检查模块是否存在,如果存在就用modprobe加载。 # modulename.modules 脚本必须确保属性是可执行的。   * 如果是systemd,它还提供了另一种方式,参见man modules-load.d   2,将模块加入黑名单   阅读全文

posted @ 2015-06-24 14:41 Wigde.Xiao 阅读(1471) 评论(0) 推荐(0) 编辑

[转]Linux中设置服务自启动的三种方式

摘要: from:http://www.cnblogs.com/nerxious/archive/2013/01/18/2866548.html有时候我们需要Linux系统在开机的时候自动加载某些脚本或系统服务主要用三种方式进行这一操作:ln -s 在/etc/rc.d/rc*.d目录中建立... 阅读全文

posted @ 2015-06-24 13:40 Wigde.Xiao 阅读(215) 评论(0) 推荐(0) 编辑

2015年5月28日 #

rpm打包

摘要: 1,需要安装rpmbuild2,准备好工作目录:mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}3,自定义环境:vim ~/.rpmmacros%_topdir /root/rpmbuild%_tmppath /root/rpmbuild/tm... 阅读全文

posted @ 2015-05-28 15:53 Wigde.Xiao 阅读(204) 评论(0) 推荐(0) 编辑

APC to USB

摘要: from :http://www.allpinouts.org/index.php/APC_USB_cable_schematicconnector or cable wiring APC part# 940-0127B10 pin RJ50 (10P10C) male connector to t... 阅读全文

posted @ 2015-05-28 15:35 Wigde.Xiao 阅读(230) 评论(0) 推荐(0) 编辑

[转]创建一个虚拟盘

摘要: A virtual filesystem is filesystem that exists in a file, which in turn exists on a physical disk. There's a lot of great things you can do with virtu... 阅读全文

posted @ 2015-05-28 15:25 Wigde.Xiao 阅读(237) 评论(0) 推荐(0) 编辑

2015年5月27日 #

编译打印输出重定向

摘要: 1,既输出到屏幕又输出到文件make -j4 | tee log_file如果再次执行,log_file会被冲刷掉,若想追加,使用-a选项:make -j4 | tee -a log_file 阅读全文

posted @ 2015-05-27 10:26 Wigde.Xiao 阅读(249) 评论(0) 推荐(0) 编辑

系统打印信息的查看技巧

摘要: 1,tail命令它默认打印后边10行,但是如果你想指定行数,可以:dmesg | tail -n 20还有一个妙用,它能自动帮你读取文件追加的内容:tail -f /var/log/dmesg2,dmesg彩色打印:dmesg --color # or dmesg -L 阅读全文

posted @ 2015-05-27 09:44 Wigde.Xiao 阅读(320) 评论(0) 推荐(0) 编辑

2015年5月22日 #

cpio的简单使用

摘要: 有如下文件1 # file boot.kylin 2 boot.kylin: ASCII cpio archive (SVR4 with no CRC)extract:# cpio -i boot 阅读全文

posted @ 2015-05-22 16:52 Wigde.Xiao 阅读(230) 评论(0) 推荐(0) 编辑

2015年5月13日 #

删除分区表

摘要: 最近用u盘dd了一个安装镜像,发现用fdisk 重新分区后分区表仍旧乱乱的,这时候使用wipefs命令就能完美解决。eg:1 wipefs -a /dev/sdc 阅读全文

posted @ 2015-05-13 16:22 Wigde.Xiao 阅读(882) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 9 下一页