carta
msdos.util(8)

msdos.util8

Dos/windows (fat) file system utility

Usage

msdos.util -m mountflag1 mountflag2 mountflag3 mountflag4 device node

msdos.util -p mountflag1 mountflag2 mountflag3 mountflag4 device

msdos.util -u device

msdos.util -k device

msdos.util -n device name

Overview

The msdos.util command supports the mounting, probing, and unmounting of FAT file systems.

Options:

-m mountflag1 mountflag2 mountflag3 mountflag4

mount

-n

set name

-p mountflag1 mountflag2 mountflag3 mountflag4

probe for mounting

-u

unmount

-k

print volume UUID

mountflags above are either:

  • removable or fixed

  • readonly or writeable

  • suid or nosuid

  • dev or nodev

FAT volumes do not actually have a volume UUID. They have an optional 4-byte volume ID. If a volume has an ID, then it will be converted to a version 3 UUID using MD5 to checksum the kFSUUIDNamespaceSHA1 UUID folowed by the volume ID.

For the -k option, if the volume has a volume ID, the exit status will be 253 and the UUID will be printed to standard out, without any trailing newline. Otherwise, if the volume appears to be FAT, the exit status will be 255. If the volume does not appear to be FAT, the exit status will be 254.

Files

/System/Library/Filesystems/msdos.fs/Contents/Resources/msdos.util

History

  • macOS 26.5 to OS X 10.11: the text shown here
  • OS X 10.10.5 to OS X 10.10
  • OS X 10.9.5 to Mac OS X 10.4
  • Mac OS X 10.3.9 to Mac OS X 10.3
  • Mac OS X 10.2.8.G5 to Mac OS X 10.2
  • Mac OS X 10.1.5 to Mac OS X 10.1

-k since OS X 10.10.

History

Derived from the Openstep Workspace Manager file system utility programs.

From msdosfs 788.100.31 in macOS 26.5. Parsed by carta from the page's mdoc source.