cvs commit: src/etc/rc.d mountcritlocal mountlate src/sbin/mount
mount.8 mount.c
Dag-Erling Smorgrav
des at FreeBSD.org
Wed Jul 12 16:05:52 UTC 2006
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
More information about the cvs-src
mailing list