Date: Wed, 12 Jul 2006 16:05:51 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc/rc.d mountcritlocal mountlate src/sbin/mount mount.8 mount.c Message-ID: <200607121605.k6CG5p0j052195@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607121605.k6CG5p0j052195>
