[Pkg-sysvinit-devel] Bug#434570: A way to detect nfsroot

Andrew Ruthven andrew at etc.gen.nz
Tue Jul 10 10:47:10 UTC 2012


Hey,

I've just run into this "bug" as well.  Is it possibly to
have /etc/init.d/mountnfs.sh could detect if nfsroot is being used.

Perhaps look if /proc/cmdline contains nfsroot= ?  Or if ip= is set.

Cheers!

-- 
Andrew Ruthven
Wellington, New Zealand
At home: andrew at etc.gen.nz |   linux.conf.au 2013
                           | Come join the party...
                           |  http://linux.conf.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120710/4cf1b62e/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list