From owner-cvs-all Thu Jul 19 14:11:53 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 11D2B37B405; Thu, 19 Jul 2001 14:11:49 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6JLBnr94623; Thu, 19 Jul 2001 14:11:49 -0700 (PDT) (envelope-from iedowse) Message-Id: <200107192111.f6JLBnr94623@freefall.freebsd.org> From: Ian Dowse Date: Thu, 19 Jul 2001 14:11:49 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mount_nfs mount_nfs.8 mount_nfs.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/07/19 14:11:48 PDT Modified files: sbin/mount_nfs mount_nfs.8 mount_nfs.c Log: 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. Revision Changes Path 1.27 +9 -2 src/sbin/mount_nfs/mount_nfs.8 1.45 +13 -12 src/sbin/mount_nfs/mount_nfs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message