diff options
author | dd <dd@FreeBSD.org> | 2001-08-16 02:40:29 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-08-16 02:40:29 +0000 |
commit | f0911c2f1b04b76e4ccece20d8252ce71c815321 (patch) | |
tree | 03e22a24c882200c64ef7e1175643eee1749432d /lib/libc/stdlib/getopt.c | |
parent | 9311b9a0c6a95eb3d50f008413e9402f009fc9c2 (diff) | |
download | FreeBSD-src-f0911c2f1b04b76e4ccece20d8252ce71c815321.zip FreeBSD-src-f0911c2f1b04b76e4ccece20d8252ce71c815321.tar.gz |
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.
Diffstat (limited to 'lib/libc/stdlib/getopt.c')
0 files changed, 0 insertions, 0 deletions