Clean up NFS comments.
authorWarren Togami <wtogami@redhat.com>
Wed, 1 Jul 2009 19:46:48 +0000 (15:46 -0400)
committerWarren Togami <wtogami@redhat.com>
Wed, 1 Jul 2009 19:46:48 +0000 (15:46 -0400)
modules.d/95nfs/parse-nfsroot.sh

index fbbeb91b5edee9dc7a1d09c7b23fadce3a2118af..23fc3bea4aec25ec4aa28e9ef1b1262789025a0b 100755 (executable)
@@ -2,16 +2,15 @@
 #
 # Preferred format:
 #      root=nfs[4]:[server:]path[:options]
-# FIXME: What is the below referring to other than root=dhcp?
-#      [root=*] netroot=nfs[4]:[server:]path[:options]
+#
+# This syntax can come from DHCP root-path as well.
 #
 # Legacy format:
 #      root=/dev/nfs nfsroot=[server:]path[,options]
 #
-# FIXME: This blurb below refers to only legacy?
-# If the 'nfsroot' parameter is not given on the command line or is empty,
-# the dhcp root-path is used as [server:]path[:options] or the default
-# "/tftpboot/%s" will be used.
+# In Legacy root=/dev/nfs mode, if the 'nfsroot' parameter is not given
+# on the command line or is empty, the dhcp root-path is used as 
+# [server:]path[:options] or the default "/tftpboot/%s" will be used.
 #
 # If server is unspecified it will be pulled from one of the following
 # sources, in order:
 #      DHCP server-id option
 #       DHCP root-path option
 #
-# NFSv4 is only used if explicitly requested; default is NFSv2 or NFSv3
-# depending on kernel configuration
-#
-# root= takes precedence over netroot= if root=nfs[...]
+# NFSv4 is only used if explicitly requested with nfs4: prefix, otherwise
+# NFSv3 is used.
 #
 
 # Sadly there's no easy way to split ':' separated lines into variables
@@ -83,7 +80,7 @@ else
     netroot=$root;
 fi 
 
-# LEGACY convert nfsroot= is valid only if root=/dev/nfs
+# LEGACY: nfsroot= is valid only if root=/dev/nfs
 if [ -n "$nfsroot" ] ; then
     # @deprecated
     warn "Argument nfsroot is deprecated and might be removed in a future release. See http://apps.sourceforge.net/trac/dracut/wiki/commandline for more information."