| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
created with the multilabel flag from inception. This simply
passes the "-l" flag on to newfs(8).
Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research
|
|
|
|
|
|
|
|
|
| |
return for getopt() and comparing to -1, ditto with fgetc() and EOF,
and using the kg_nice value from <sys/user.h>
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Reviewed by: obrien, bde (a while back)
Tested lightly on: ppc, i386, make universe
|
|
|
|
|
|
| |
a file mode specification from the command line. This
approach is more flexible and less error-prone than using
a mere strtoul(3).
|
|
|
|
| |
always false on 64bit platforms and GCC 3.3.1 issues warning there.
|
|
|
|
| |
Pointed out by: Mathieu Arnold <mat@mat.cc>
|
|
|
|
|
|
| |
these definitions in the /rescue case.
Submitted by: Tim Kientzle <kientzle@acm.org>
|
|
|
|
| |
Approved by: re (blanket)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
in /etc/fstab to get a memory disk:
md /tmp mfs rw,-s8m,noatime 2 2
Back when mdmfs was created, there was vague discussion about doing this, but
it never materialized.
Reminded by: Ralf S. Engelschall <rse@engelschall.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
of an argument name collision with -O, use -v, and default to whatever
the newfs default is for the platform (generally, UFS1). This is
required to support diskless workstations that use UFS2 for their
mdmfs file systems.
Reviewed by: dd, bmah
Approved by: re (bmah)
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
|
| |
to propagete BSD disklabels to architectures not already so polluted.
Sponsored by: DARPA & NAI Labs.
|
| |
|
| |
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
|
|
|
|
|
| |
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
|
|
|
|
|
|
|
|
|
| |
name is "mount_mfs" or "mfs". Previously, the condition was that
the program name must start with "mount_", but this both missed
the case where mount(8) invokes mdmfs with argv[0] = "mfs", and it
included cases such as "mount_md" where compatibility is not
required.
Reviewed by: dd
|
|
|
|
| |
-compat is not a valid keyword.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Approved by: dd
|
|
|
|
| |
Submitted by: kris
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Alexander Leidinger <Alexander@Leidinger.net>
|
| |
|
|
|
|
| |
Submitted by: ru
|
|
newfs(8), and mount(8) that mimics the command line option set of the
deprecated mount_mfs(8).
Approved by: jkh, phk, -hackers
|