]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Since revision 1.40/1.41, the default behaviour for mount_nfs is
authoriedowse <iedowse@FreeBSD.org>
Thu, 19 Jul 2001 21:11:48 +0000 (21:11 +0000)
committeriedowse <iedowse@FreeBSD.org>
Thu, 19 Jul 2001 21:11:48 +0000 (21:11 +0000)
commit1992345c83a44050ef976bd482846cff4f5d31c3
treef5072bb2dd361c29f89116db705c73eede284cb2
parentac76e3b7fe950c13a3975d86d2c5036cb259dc96
Since revision 1.40/1.41, the default behaviour for mount_nfs is
to give up after one attempt unless a background mount is requested.
Background mounts would retry 10000 times (at least 7 days) before
giving up.

For some situations such as diskless terminals, an NFS filesystem
may be critical to the boot process, so neither the "try once" nor
background mounts are appropiate. To cater for this situation,
unbreak the -R (retry count) parameter so that it also works in
the non-background case. Interpret a zero retry count as "retry
forever".

The defaults are now "try once" for non-background mounts and "retry
forever" for background mounts; both can be overridden via -R.
Add a description of this behaviour to the manpage.
sbin/mount_nfs/mount_nfs.8
sbin/mount_nfs/mount_nfs.c