diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-07-21 15:38:37 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-07-21 15:38:37 +0000 |
commit | 965e8c3720e7bf3f734d9c28ce5e94e1cb808543 (patch) | |
tree | 1086c8702fe7d486220d0ae1e2fdd6ee1dea98d9 /sbin/mount_nfs/mount_nfs.c | |
parent | ba4e5273cd80e746f5ba4b4438e7a307f458d16d (diff) | |
download | FreeBSD-src-965e8c3720e7bf3f734d9c28ce5e94e1cb808543.zip FreeBSD-src-965e8c3720e7bf3f734d9c28ce5e94e1cb808543.tar.gz |
Change the foreground mount behaviour so that we keep retrying
forever by default. This matches what mount_nfs did before revision
1.40, and it is the generally expected behaviour for NFS mounts.
Document the current defaults near the start of the man page and
mention the options that can be used to change them.
Discussed on: -hackers
Diffstat (limited to 'sbin/mount_nfs/mount_nfs.c')
-rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index 997cc92..4b88a51 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -486,7 +486,8 @@ main(argc, argv) name = *argv; if (retrycnt == -1) - retrycnt = (opflags & BGRND) ? 0 : 1; + /* The default is to keep retrying forever. */ + retrycnt = 0; if (!getnfsargs(spec, nfsargsp)) exit(1); |