summaryrefslogtreecommitdiffstats
path: root/sbin/mdmfs
Commit message (Collapse)AuthorAgeFilesLines
* Do not compare unsigned int values with ULONG_MAX. The comparison iskan2003-07-111-4/+4
| | | | always false on 64bit platforms and GCC 3.3.1 issues warning there.
* Remove pathnames.h.gordon2003-06-291-2/+0
| | | | Pointed out by: Mathieu Arnold <mat@mat.cc>
* Move path definitions to include/paths.h. This makes it easier to overridegordon2003-06-292-14/+5
| | | | | | these definitions in the /rescue case. Submitted by: Tim Kientzle <kientzle@acm.org>
* mdoc(7) fix: Add the forgotten paragraph command.ru2003-05-171-0/+1
| | | | Approved by: re (blanket)
* Add an example of how to create an fstab entry.dougb2003-05-051-0/+4
|
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-4/+2
|
* Also MLINK the man page for mount_mfs.dougb2003-04-272-2/+4
|
* Install a mount_mfs symlink so that you can specify something like thisdougb2003-04-271-0/+1
| | | | | | | | | | | 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>
* english(4) police.schweikh2002-12-271-1/+1
|
* Teach mdmfs how to pass UFS version numbers through to newfs. Becauserwatson2002-12-012-1/+15
| | | | | | | | | | | | 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
* Don't disklabel(8) the md(4) device, it is not needed, and we don't wantphk2002-09-223-22/+3
| | | | | | to propagete BSD disklabels to architectures not already so polluted. Sponsored by: DARPA & NAI Labs.
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-212-11/+11
|
* The .Nm utilitycharnier2002-07-061-4/+6
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-2/+2
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Default to WARNS=2.obrien2001-12-041-1/+0
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Enable bug-for-bug compatibility with mount_mfs when the programiedowse2001-09-302-5/+7
| | | | | | | | | | 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
* mdoc(7) police: Section cross-references are marked with .Sx.ru2001-08-161-3/+2
| | | | -compat is not a valid keyword.
* Implement a better compatibility mode with mount_mfs. It is thedd2001-08-162-6/+120
| | | | | | | | | | | | | | | | | 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.
* style(9) tweakobrien2001-08-141-24/+24
| | | | Approved by: dd
* Document -X.dd2001-07-301-0/+3
| | | | Submitted by: kris
* Nuke my e-mail address since it seems out of place here.dd2001-07-302-3/+2
|
* Add __printflike() to those static functions which need it.kris2001-07-011-3/+3
|
* Use strdup(3) instead of reimplementing it inline.dd2001-06-241-7/+1
|
* Fix compilation error on alpha.mjacob2001-06-211-1/+1
|
* Add a missing word.dd2001-06-201-1/+1
| | | | Submitted by: Alexander Leidinger <Alexander@Leidinger.net>
* Add a SEE ALSO section.dd2001-06-201-0/+6
|
* Miscellaneous mdoc(7) fixes; also expand contractions.dd2001-06-201-22/+19
| | | | Submitted by: ru
* Introduce mdmfs(8), a wrapper around mdconfig(8), disklabel(8),dd2001-06-184-0/+930
newfs(8), and mount(8) that mimics the command line option set of the deprecated mount_mfs(8). Approved by: jkh, phk, -hackers
OpenPOWER on IntegriCloud