]> git.ipfire.org Git - thirdparty/dracut.git/commit
nfs: install modprobe config file
authorDave Young <dyoung@redhat.com>
Wed, 11 Jul 2012 05:08:18 +0000 (13:08 +0800)
committerHarald Hoyer <harald@redhat.com>
Wed, 11 Jul 2012 06:45:34 +0000 (08:45 +0200)
commit83a420674b7c1328ffb944678619595a431ffa48
tree3446d7f2771cf995d34e3f7f6b1e21c8e480912e
parent9f5c98a76a2c319045c7f6091a1083da1b74f740
nfs: install modprobe config file

install nfs modprobe config file

For nfs4, in case nfs.ko is not loaded mount.nfs4 will try to load
nfs4.ko instead of nfs.ko. Fedora nfs-utils creates a lib/modprobe.d/nfs.conf
in which there's below alias:
alias nfs4 nfs

Dracut also need this file to auto load nfs kernel module.

Tested booting to a fedora 17 nfsroot share.

Signed-off-by: Dave Young <dyoung@redhat.com>
modules.d/95nfs/module-setup.sh
modules.d/95nfs/parse-nfsroot.sh