Clean up NFS comments.
parent
f910f00627
commit
bd81caa80a
|
@ -2,16 +2,15 @@
|
||||||
#
|
#
|
||||||
# Preferred format:
|
# Preferred format:
|
||||||
# root=nfs[4]:[server:]path[:options]
|
# 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:
|
# Legacy format:
|
||||||
# root=/dev/nfs nfsroot=[server:]path[,options]
|
# root=/dev/nfs nfsroot=[server:]path[,options]
|
||||||
#
|
#
|
||||||
# FIXME: This blurb below refers to only legacy?
|
# In Legacy root=/dev/nfs mode, if the 'nfsroot' parameter is not given
|
||||||
# If the 'nfsroot' parameter is not given on the command line or is empty,
|
# on the command line or is empty, the dhcp root-path is used as
|
||||||
# the dhcp root-path is used as [server:]path[:options] or the default
|
# [server:]path[:options] or the default "/tftpboot/%s" will be used.
|
||||||
# "/tftpboot/%s" will be used.
|
|
||||||
#
|
#
|
||||||
# If server is unspecified it will be pulled from one of the following
|
# If server is unspecified it will be pulled from one of the following
|
||||||
# sources, in order:
|
# sources, in order:
|
||||||
|
@ -20,10 +19,8 @@
|
||||||
# DHCP server-id option
|
# DHCP server-id option
|
||||||
# DHCP root-path option
|
# DHCP root-path option
|
||||||
#
|
#
|
||||||
# NFSv4 is only used if explicitly requested; default is NFSv2 or NFSv3
|
# NFSv4 is only used if explicitly requested with nfs4: prefix, otherwise
|
||||||
# depending on kernel configuration
|
# NFSv3 is used.
|
||||||
#
|
|
||||||
# root= takes precedence over netroot= if root=nfs[...]
|
|
||||||
#
|
#
|
||||||
|
|
||||||
# Sadly there's no easy way to split ':' separated lines into variables
|
# Sadly there's no easy way to split ':' separated lines into variables
|
||||||
|
@ -83,7 +80,7 @@ else
|
||||||
netroot=$root;
|
netroot=$root;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# LEGACY convert nfsroot= is valid only if root=/dev/nfs
|
# LEGACY: nfsroot= is valid only if root=/dev/nfs
|
||||||
if [ -n "$nfsroot" ] ; then
|
if [ -n "$nfsroot" ] ; then
|
||||||
# @deprecated
|
# @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."
|
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."
|
||||||
|
|
Loading…
Reference in New Issue