All of lore.kernel.org
 help / color / mirror / Atom feed
* Q: How to add more modules when -H is specified?
@ 2011-07-29  8:57 WANG Cong
  2011-07-29  9:24 ` Harald Hoyer
  0 siblings, 1 reply; 3+ messages in thread
From: WANG Cong @ 2011-07-29  8:57 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA


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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-29  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29  8:57 Q: How to add more modules when -H is specified? WANG Cong
2011-07-29  9:24 ` Harald Hoyer
     [not found]   ` <4E327C58.1000406-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-07-29  9:44     ` Américo Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.