format (command)
| This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (August 2008) |
Format is a command-line utility included in Microsoft DOS, IBM OS/2 and Microsoft Windows operating systems to produce disk formatting.
The command will perform the following actions by default on a floppy drive, hard drive, solid-states (USB), or other magnetic medium. It will not perform this function on optical media.
- The FAT entries are cleared by changing them to 0x00.
- The root directory is cleared out by changing any values found to 0x00.
- Format then checks each cluster to see if it is good or bad and marks it in the FAT.
Optionally, (by adding /s, for "system") it can also install a volume boot record. When this option is included, bootstrap code is written to the first sector of the volume (and possibly elsewhere as well). FORMAT always writes a BIOS Parameter Block to the first sector, with or without the /S option.
Another option ( /Q) allows for what Microsoft calls "Quick Format". With this option the command will not do the 2nd and 3rd step, above.[citation needed] Data previously written to the media will not be altered by the command.
Any storage device must have its medium structured to be useful. This process is referred to as creating the file system in Unix, Linux, or BSD. Under these systems the more robust command called "mkfs" exists. It creates many kinds of filesystems including those used by DOS, Windows, and OS/2. (e.g. DrDOS)
[edit] See also
[edit] References
[edit] External links
- How to Use the Fdisk Tool and the Format Tool to Partition or Repartition a Hard Disk
- Microsoft DOS format command
- Recovery Console format command
|
||||||||||||||||||||||||||||||||
| This computer storage-related software article is a stub. You can help Wikipedia by expanding it. |