Date: Wed, 15 Aug 2001 19:40:29 -0700 (PDT) From: Dima Dorfman <dd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mdmfs mdmfs.8 mdmfs.c Message-ID: <200108160240.f7G2eT849679@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dd 2001/08/15 19:40:29 PDT
Modified files:
sbin/mdmfs mdmfs.8 mdmfs.c
Log:
Implement a better compatibility mode with mount_mfs. It is the
default if the executable is named (called as) "mount_*", or can be
enabled with the -C option. This allows users to leave their old
fstab entires unchanged (modulo symlink'ing mdmfs to mount(md|mfs))
and have things behave the way they should (by emulating mount_mfs
silliness), while still allowing mdmfs to be used as a generic
make-an-md-and-mount-it type thing.
Right now, the only effects of this option is to set the mount-point
mode to 01777 as if "-p 1777" was given, and to complain about getting
command-line options that mount_mfs didn't take (e.g., -X, -L, et al).
The latter is mostly to try to catch operator errors.
Also implement -U, which turns on soft-updates. It's redundant (since
softdep is the default), but implement it anyway for compatibility.
Revision Changes Path
1.7 +73 -3 src/sbin/mdmfs/mdmfs.8
1.7 +49 -5 src/sbin/mdmfs/mdmfs.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108160240.f7G2eT849679>
