Lines Matching +full:per +full:- +full:device
31 .Nd construct a new MS-DOS (FAT) file system
38 .Op Fl C Ar create-size
39 .Op Fl F Ar FAT-type
43 .Op Fl S Ar sector-size
45 .Op Fl a Ar FAT-size
46 .Op Fl b Ar block-size
47 .Op Fl c Ar cluster-size
58 .Op Fl u Ar track-size
64 utility creates a FAT12, FAT16, or FAT32 file system on device or file named
78 is not used, it is assumed to be a device name and
80 is prepended to the name to construct the actual device name.
85 .Bl -tag -width indent
89 Build the filesystem at the specified offset in bytes in the device or file.
101 .It Fl C Ar create-size
110 .It Fl F Ar FAT-type
122 .It Fl S Ar sector-size
123 Number of bytes per sector.
134 .It Fl a Ar FAT-size
135 Number of sectors per FAT.
136 .It Fl b Ar block-size
137 File system block size (bytes per cluster).
139 acceptable number of sectors per cluster (see below).
140 .It Fl c Ar cluster-size
141 Sectors per cluster, also called allocation size.
180 .It Fl u Ar track-size
181 Number of sectors per track.
186 In particular, the size is determined as the device or file size minus the
199 .Bd -literal
201 uint16_t bpbBytesPerSec; /* [-S] bytes per sector */
202 uint8_t bpbSecPerClust; /* [-c] sectors per cluster */
203 uint16_t bpbResSectors; /* [-r] reserved sectors */
204 uint8_t bpbFATs; /* [-n] number of FATs */
205 uint16_t bpbRootDirEnts; /* [-e] root directory entries */
206 uint16_t bpbSectors; /* [-s] total sectors */
207 uint8_t bpbMedia; /* [-m] media descriptor */
208 uint16_t bpbFATsecs; /* [-a] sectors per FAT */
209 uint16_t bpbSecPerTrack; /* [-u] sectors per track */
210 uint16_t bpbHeads; /* [-h] drive heads */
211 uint32_t bpbHiddenSecs; /* [-o] hidden sectors */
212 uint32_t bpbHugeSectors; /* [-s] big total sectors */
216 uint32_t bpbBigFATsecs; /* [-a] big sectors per FAT */
220 uint16_t bpbFSInfo; /* [-i] file system info sector */
221 uint16_t bpbBackup; /* [-k] backup boot sector */
231 .Bd -literal -offset indent
237 .Bd -literal -offset indent
238 newfs_msdos -F 32 -A -c 64 /dev/mmcsd0s1
245 .Bd -literal -offset indent
246 newfs_msdos -f 1440 -L foo fd0
251 .Bd -literal -offset indent
252 newfs_msdos -C 30M -@63s ./somefile