| NEWFS_EXFAT(8) | System Manager's Manual | NEWFS_EXFAT(8) |
newfs_exfat —
construct a new ExFAT file system
newfs_exfat |
[-N] [-R]
[-I volume-serial-number]
[-S bytes-per-sector]
[-a sectors-per-FAT]
[-b bytes-per-cluster]
[-c sectors-per-cluster]
[-n number-of-FATs]
[-s total-sectors]
[-v volume-name]
special |
The newfs_exfat utility creates an ExFAT
file system on device special. If the
-R option is not given, and the device is already
formatted as ExFAT, it will preserve the partition offset, bytes per
cluster, FAT offset and size, number of FATs, offset to start of clusters,
number of clusters, volume serial number, and volume name (label). If a
volume name was specified via the -v option, that
name is used instead of the volume's previous name.
The options are as follow:
-N-R-I
volume-serial-number-S
bytes-per-sector-a
sectors-per-FAT-b
bytes-per-cluster-c
sectors-per-cluster-n
number-of-FATs-s
total-sectors-v
volume-namenewfs_exfat /dev/disk0s1Create a file system, using default parameters (or existing ExFAT layout), on /dev/rdisk0s1.
newfs_exfat -v Hello
disk2s1Exit status is 0 on success and 1 on error.
The newfs_exfat command appeared in Mac OS
X 10.6.3.
| January 19, 2010 | Darwin |