X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Ffuse-exfat.git;a=blobdiff_plain;f=mkfs%2Fmkexfatfs.8;fp=mkfs%2Fmkexfatfs.8;h=6d3c6534465d0aa423431e5a07d37e7e77689f14;hp=0000000000000000000000000000000000000000;hb=b747352475991e7b96183fa1014937efd3e47187;hpb=5151112c14bb7cdc93bcc66901485d94f2ab0c24 diff --git a/mkfs/mkexfatfs.8 b/mkfs/mkexfatfs.8 new file mode 100644 index 0000000..6d3c653 --- /dev/null +++ b/mkfs/mkexfatfs.8 @@ -0,0 +1,71 @@ +.\" Copyright (C) 2011-2018 Andrew Nayenko +.\" +.TH MKEXFATFS 8 "January 2014" +.SH NAME +.B mkexfatfs +\- create an exFAT file system +.SH SYNOPSIS +.B mkexfatfs +[ +.B \-i +.I volume-id +] +[ +.B \-n +.I volume-name +] +[ +.B \-p +.I partition-first-sector +] +[ +.B \-s +.I sectors-per-cluster +] +[ +.B \-V +] +.I device + +.SH DESCRIPTION +.B mkexfatfs +creates an exFAT file system on a block device. +.I device +is a special file corresponding to the partition on the device. Note that if +this is an MBR partition then the file system type should be set to 0x07 +(NTFS/exFAT) otherwise other operating systems may refuse to mount the +file system. + +.SH OPTIONS +Command line options available: +.TP +.BI \-i " volume-id" +A 32-bit hexadecimal number. By default a value based on current time is set. +.TP +.BI \-n " volume-name" +Volume name (label), up to 15 characters. By default no label is set. +.TP +.BI \-p " partition-first-sector" +First sector of the partition starting from the beginning of the whole disk. +exFAT super block has a field for this value but in fact it's optional and +does not affect anything. Default is 0. +.TP +.BI \-s " sectors-per-cluster" +Number of physical sectors per cluster (cluster is an allocation unit in +exFAT). Must be a power of 2, i.e. 1, 2, 4, 8, etc. Cluster size can not +exceed 32 MB. Default cluster sizes are: +4 KB if volume size is less than 256 MB, +32 KB if volume size is from 256 MB to 32 GB, +128 KB if volume size is 32 GB or larger. +.TP +.BI \-V +Print version and copyright. + +.SH EXIT CODES +Zero is returned on successful creation. Any other code means an error. + +.SH AUTHOR +Andrew Nayenko + +.SH SEE ALSO +.BR mkfs (8), fdisk (8)