| -a maxcontig |
| | Specify the maximum number of contiguous blocks that will be laid out before forcing a rotational delay (see the -d option). |
| -b block-size |
| | The block size of the file system, in bytes. |
| -C | Enable full compatibility mode with mount_mfs(8). See the COMPATIBILITY section for more information. |
| -c cylinders |
| | The number of cylinders per cylinder group in the file system. |
| -D | If not using auto-unit, do not run mdconfig(8) to try to detach the unit before attaching it. |
| -d rotdelay |
| | Specify the minimum time in milliseconds required to initiate another disk transfer on the same cylinder. Modern disks with read/write-behind achieve higher performance without this feature, so it is best to leave it at 0 milliseconds. |
| -e maxbpg |
| | Indicate the maximum number of blocks any single file can allocate out of a cylinder group before it is forced to begin allocating blocks from another cylinder group. |
| -F file |
| | Create a vnode-backed (MD_VNODE) memory disk backed by file. |
| -f frag-size |
| | The fragment size of the file system in bytes. |
| -i bytes |
| | Number of bytes per inode. |
| -l | Enable multilabel MAC on the new file system. |
| -L | Show the output of the helper programs. By default, it is sent to /dev/null. |
| -M | Create a malloc(9) backed disk (MD_MALLOC) instead of a swap-backed disk. |
| -m percent-free |
| | The percentage of space reserved for the superuser. |
| -N | Do not actually run the helper programs. This is most useful in conjunction with -X . |
| -n rotational-positions |
| | The default number of rotational positions to distinguish. |
| -O optimization |
| | Select the optimization preference; valid choices are space and time, which will optimize for minimum space fragmentation and minimum time spent allocating blocks, respectively. |
| -o mount-options |
| | Specify the mount options with which to mount the file system. See mount(8) for more information. |
| -p permissions |
| | Set the file (directory) permissions of the mount point mount-point to permissions. The permissions argument can be in any of the mode formats recognized by chmod(1). If symbolic permissions are specified, the operation characters "+" and "-" are interpreted relative to the initial permissions of "a=rwx". |
| -S | Do not enable soft-updates on the file system. |
| -s size |
| | Specify the size of the disk to create. This only makes sense if -F is not specified. That is, this will work for the default swap-backed (MD_SWAP) disks, and the optional (-M) malloc(9) backed disks (MD_MALLOC). |
| -U | Enable soft-updates on the file system. This is the default, even in compatibility mode, and is accepted only for compatibility. It is only really useful to negate the -S flag, should such a need occur. |
| -v version |
| | Specify the UFS version number for use on the file system; it may be either 1 or 2. The default is derived from the default of the newfs(8) command. |
| -w user: group |
| | Set the owner and group to user and group, respectively. The arguments have the same semantics as with chown(8), but specifying just a user or just a group is not supported. |
| -X | Print what command will be run before running it, and other assorted debugging information. |
|