- Subject: Q: How to add more modules when -H is specified?
- From: WANG Cong <xiyou.wangcong@xxxxxxxxx>
- Date: Fri, 29 Jul 2011 08:57:09 +0000 (UTC)
- User-agent: Pan/0.133 (House of Butterflies)
Hi, dracut people,
I am not sure about the expected behaviour when I specify both
-H and --add foo (where module foo is not automatially added
by -H). It looks like with -H specified, --add foo will not
take any effect?
At least `-H --add nfs` doesn't work if my rootfs is not nfs,
I see the following check in modules.d/95nfs/module-setup.sh,
[ $hostonly ] && ! egrep -q '/ nfs[34 ]' /proc/mounts && return 1
So, is this expected? I mean as long as I specify -H, there is
no way to add more modules? Or just the nfs check code is wrong?
Also, I am looking for a way to add all needed modules for
devices mounted in current system, as -H only adds modules
needed by rootfs.
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]