dosformat [ -V Label ] [ -D Device | -4 ]
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.
Note: The purpose of this command is to facilitate file transfer between this operating system and DOS systems. Using this command to format a diskette that needs to have the DOS system startup files on it is not recommended.
-4 | Specifies the lower density for the diskette size. |
dosformat -V homework
dosformat -D /dev/fd1.9
dosformat -D /dev/fd1 -4
/usr/bin/dosformat | Contains the dosformat command. |
The dosdel command, dosdir command, dosread command, doswrite command.