History log of /freebsd-9.3-release/sbin/mdmfs/mdmfs.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 237216 18-Jun-2012 eadler

MFC r233648:
Remove trailing whitespace per mdoc lint warning

Approved by: cperciva (implicit)


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 225416 06-Sep-2011 kib

dd -t switch for mdmfs to enable TRIM on the configured filesystem.
While there, fix minor style issues.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 1 week
Approved by: re (bz)


# 166772 15-Feb-2007 ceri

Grammar nits.


# 166765 15-Feb-2007 matteo

Add examples for configuring and mounting geom_uzip(4) based disks'
image and sliced/partitioned memory disks.
MFC after: 1 week


# 166752 15-Feb-2007 matteo

Correct -c and -d description.

Other requests made in the PR were already solved in the past.

PR: bin/66763
MFC after: 1 week


# 163952 03-Nov-2006 ru

Remove the -C option as it does more harm than good. To be fully
compatible, it would have to (at least):

- support the "compat-compat" -T option,
- *not* support the -l, -O, and -v options,
- default to soft updates being disabled.

Worse, the compatibility mode makes it impossible to mount_mfs(8)
a file system from fstab(5) with soft updates disabled (-S). [1]

Now, the only difference when called as "mount_mfs" or "mfs" (as
opposed to "mdmfs") is that the file mode of the mount point is
set by default to 01777. All options available to mdmfs(8) are
also available to mount_mfs(8); the -C option is still recognized
but ignored for backward compatibility.

PR: bin/98860 [1]
MFC after: 2 weeks


# 163576 21-Oct-2006 ru

Fix .Dd arguments.


# 162921 01-Oct-2006 matteo

The UFS filesystem get created only if -P was not specified.
Specify this on the description

MFC after: 3 days


# 162395 18-Sep-2006 ru

Markup fixes.


# 155769 16-Feb-2006 sobomax

Add new -E option, which allows to specify location of the mdconfig(8)
utility instead of using default _PATH_MDCONFIG (/sbin/mdconfig).

MFC after: 1 week


# 153961 01-Jan-2006 dd

Add a -P option to allow skipping newfs when using a vnode-backed
disk. Apparently some people want to use mdmfs as mount_* as a
shortcut for mounting existing file-based file systems.

Note that unlike in the patches from the submitters, this option is
not available in compat mode. Compat mode was supposed to support only
things that mount_mfs used to support. To use this option from fstab,
mdmfs should be called mount_md, not mount_mfs. This distinction has
not always upkept for new options, and those can't be fixed now
without breaking people's systems, but new options should not usually
be allowed in compat mode. (Not sure why -F is allowed there at all.)

PR: 57641
Submitted by: Ruben de Groot
Submitted independently by: Wojciech A. Koszek, for Urzad Miasta Czestochowa


# 129327 17-May-2004 ru

Assorted markup, grammar, and spelling fixes.


# 126255 25-Feb-2004 rwatson

Add a "-l" parameter to mdmfs so that memory file systems can be
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


# 118500 05-Aug-2003 yar

Don't reinvent the wheel: Use setmode(3) to interpret
a file mode specification from the command line. This
approach is more flexible and less error-prone than using
a mere strtoul(3).


# 115115 17-May-2003 ru

mdoc(7) fix: Add the forgotten paragraph command.

Approved by: re (blanket)


# 114765 05-May-2003 dougb

Add an example of how to create an fstab entry.


# 114097 26-Apr-2003 dougb

Also MLINK the man page for mount_mfs.


# 108317 27-Dec-2002 schweikh

english(4) police.


# 107475 01-Dec-2002 rwatson

Teach mdmfs how to pass UFS version numbers through to newfs. Because
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


# 103798 22-Sep-2002 phk

Don't disklabel(8) the md(4) device, it is not needed, and we don't want
to propagete BSD disklabels to architectures not already so polluted.

Sponsored by: DARPA & NAI Labs.


# 102231 21-Aug-2002 trhodes

s/filesystem/file system/g as discussed on -developers


# 99501 06-Jul-2002 charnier

The .Nm utility


# 84167 30-Sep-2001 iedowse

Enable bug-for-bug compatibility with mount_mfs when the program
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


# 81752 16-Aug-2001 ru

mdoc(7) police: Section cross-references are marked with .Sx.
-compat is not a valid keyword.


# 81742 16-Aug-2001 dd

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.


# 80608 30-Jul-2001 dd

Document -X.

Submitted by: kris


# 80607 30-Jul-2001 dd

Nuke my e-mail address since it seems out of place here.


# 78518 20-Jun-2001 dd

Add a missing word.

Submitted by: Alexander Leidinger <Alexander@Leidinger.net>


# 78480 19-Jun-2001 dd

Add a SEE ALSO section.


# 78479 19-Jun-2001 dd

Miscellaneous mdoc(7) fixes; also expand contractions.

Submitted by: ru


# 78447 18-Jun-2001 dd

Introduce mdmfs(8), a wrapper around mdconfig(8), disklabel(8),
newfs(8), and mount(8) that mimics the command line option set of the
deprecated mount_mfs(8).

Approved by: jkh, phk, -hackers