From owner-cvs-all@FreeBSD.ORG Wed Jul 12 16:05:51 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F078E16A4E1; Wed, 12 Jul 2006 16:05:51 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC17D43D55; Wed, 12 Jul 2006 16:05:51 +0000 (GMT) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6CG5pY8052196; Wed, 12 Jul 2006 16:05:51 GMT (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6CG5p0j052195; Wed, 12 Jul 2006 16:05:51 GMT (envelope-from des) Message-Id: <200607121605.k6CG5p0j052195@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Wed, 12 Jul 2006 16:05:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc/rc.d mountcritlocal mountlate src/sbin/mount mount.8 mount.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 16:05:52 -0000 des 2006-07-12 16:05:51 UTC FreeBSD src repository Modified files: etc/rc.d mountcritlocal sbin/mount mount.8 mount.c Added files: etc/rc.d mountlate Log: Teach mount(8) about a 'late' keyword, which means the file system should not be mounted unless the -l flag was specified. Add an rc script, mountlate, which basically runs 'mount -a -l'. It runs after DAEMON but before LOGIN. This is useful for things like loopback mounts, because mountcritremote runs before mountd / nfsd (since /usr might be a remote file system), so an attempt to mount a loopback network file system in mountcritremote will fail. Also add a progress message to mountcritlocal, for the sake of symmetry with similar messages in mountcritremote and mountlate. Reviewed by: freebsd-rc MFC after: 3 weeks Revision Changes Path 1.13 +2 -0 src/etc/rc.d/mountcritlocal 1.1 +36 -0 src/etc/rc.d/mountlate (new) 1.78 +20 -3 src/sbin/mount/mount.8 1.88 +18 -4 src/sbin/mount/mount.c