码迷,mamicode.com
首页 > 系统相关 > 详细

linux服务之dracut

时间:2015-04-01 19:16:49      阅读:280      评论:0      收藏:0      [点我收藏+]

标签:

[root@222-comecs ~]# rpm -qf /var/log/dracut.log
dracut-004-335.el6.noarch
[root@222-comecs ~]# rpm -ql dracut|more
/etc/dracut.conf
/etc/dracut.conf.d
/etc/logrotate.d/dracut
/sbin/dracut
/sbin/lsinitrd
/sbin/mkinitrd

lsinitrd shows the contents of an initramfs image. if <image> is omitted, then lsinitrd uses the default image
/boot/<machine-id>/<kernel-version>/initrd or /boot/initramfs-<kernel-version>.img.

[root@222-comecs ~]# cat /etc/dracut.conf
# Sample dracut config file

# Specific list of dracut modules to use
#dracutmodules+=""

# Dracut modules to omit
#omit_dracutmodules+=""

# Dracut modules to add to the default
#add_dracutmodules+=""

# additional kernel modules to the default
#add_drivers+=""

# list of kernel filesystem modules to be included in the generic initramfs
#filesystems+=""

# build initrd only to boot current hardware
#hostonly="yes"
#

# install local /etc/mdadm.conf
mdadmconf="yes"

# install local /etc/lvm/lvm.conf
lvmconf="yes"

linux服务之dracut

标签:

原文地址:http://www.cnblogs.com/createyuan/p/4384581.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!