Formats a DOS diskette.
The dosformat command formats a diskette with the DOS format.
The default device and DOS diskette drive format is /dev/fd0 for a 3.5-inch diskette. The density is usually either 1.44M-byte or 2.88M-byte, depending on the density that the drive supports. Other DOS diskette drive formats are implemented by using the -D or -4 flags.
To include a volume label, use the -V flag.
| Item | Description | 
|---|---|
| -V | Write the Label parameter to the diskette as the DOS volume label. | 
| -DDevice | Specifies the diskette drive type and size. The Device parameter can be specified as: For a 3.5-inch, 1.44M drive: 
 For a 3.5-inch, 2.88M drive: 
 For a 5.25-inch, 1.2M drive: 
 | 
| Item | Description | 
|---|---|
| -4 | Specifies the lower density for the diskette size. | 
dosformat -V homeworkdosformat -D /dev/fd1.9dosformat -D /dev/fd1 -4| Item | Description | 
|---|---|
| /usr/bin/dosformat | Contains the dosformat command. |