24

When formatting my hard drives or USB flash drives, I've always seen the "Capacity" cascade menu with only one option. The image below is taken when trying to format a 1 TB HDD on Windows 10.

image

If there's never been a second choice, why does this option exist in the first place?

This behavior is consistent across XP, Vista, 7, 8, 8.1, 10 in more than ten years of my experience using a Windows OS.

3 Answers 3

27

When formatting a floppy, I expect the same dialog to give a choice:

  • 3.5'', 1.44MB, 512 bytes/sector
  • 3.5'', 720KB, 512 bytes/sector

Currently I have no access to a floppy drive to confirm this, but on this page there is a picture that shows a "Format A:\" window with these options. It comes from a time when "formatting" would actually initialize the physical structure of the medium – not just write some data for creating a filesystem.

enter image description here

Source: http://www.buildorbuy.org/images/floppywin2.png

It's possible other media (nowadays uncommon media) provide more than one option as well.

8
  • 1
    including the image here would be better, as the link may rot in the future
    – phuclv
    Commented Feb 2, 2020 at 8:49
  • 3
    @phuclv I'm not sure if I can simply upload somebody else's file to imgur. The linked site has a copyright notice. Embedding their asset seems even worse. If you disagree then please improve the answer. It's community wiki now. Commented Feb 2, 2020 at 9:13
  • @phuclv In case the link rots, Wayback Machine is there to the rescue.
    – iBug
    Commented Feb 2, 2020 at 17:20
  • 4
    @OrangeDog I seriously doubt it. Commented Feb 2, 2020 at 20:59
  • 2
    @OrangeDog: I try to explain the difference between formatting, partitioning, and creating a filesystem in my answer. Please, let me know if something is unclear. Commented Feb 3, 2020 at 1:52
9

The Windows "Format" dialog conflates three completely different concepts:

  • Formatting a medium, which means create or change the physical structure of the medium, i.e. the width and number of tracks, the size of sectors or blocks, and so on. E.g. the same 3.5" floppy disk can be formatted in "Standard Density" (720 ko double-sided) or "High Density" (1.44 Mo double-sided), the difference is in how close together the tracks are spaced.
  • Partitioning a medium, which means create or change some sort of "database" which separates the disk into multiple distinct areas. One of the simplest of those "databases" is the BIOS Partition Table Format, which is only 64 octets big and can only describe up to 4 partitions (although one or more of those partitions can be marked as "Extended Partitions", which means that they contain another Partition Table, which in turn can describe up to 4 partitions; by linking enough of those tables, you can describe an arbitrary number of partitions). A more complex format is the proprietary Windows Logical Disk Manager Format, whose internal structure actually does look like a database, it even has transactions and journaling to prevent data loss and corruption.
  • Creating a filesystem, which means … well, exactly what it says.

The difference between the three is much more pronounced on other operating systems, e.g. Unix: Formatting is usually done with device-specific specialized tools for the specific hardware, e.g. sg3_format for disks implementing the SCSI Command Set, which sends a SCSI FORMAT UNIT command to the target. Partitioning is usually done with partitioning tools such as fdisk, sfdisk, parted, or gparted. Creating a filesystem is usually done with tools named mkfs.<name of filesystem>, e.g. mkfs.ext3, mkfs.ntfs, and so on.

Depending on the device, and the current state of the device, Windows' "Format" dialog will either create a filesystem or first partition the medium and then create a filesystem. In fact, one thing the "Format" dialog will almost never do, is actually "Format". The reason is simply that most modern devices cannot be formatted in-situ. The physical structure of a flash device is given by its internal organization. The physical structure of hard disks is so close to the edges of what is currently possible that the drive itself is not precise enough to write the tracks. The tracks can only be written by specialized hardware in the factory. The density is just too high, the tracks are too small and too close together to be written by the drive itself; it can only find where they are if they are already there, but it cannot write them.

So, considering that most devices cannot be formatted and thus the "Format" dialog cannot change their capacity, the dropdown may indeed look strange. But if a device could be formatted, then this dropdown would show the different possible capacities.

Note that a couple of years ago, when the changeover from 512 octet sectors to 4096 octet sectors happened, some drives did allow a limited form of "formatting", namely changing the sector size. However, this would typically not change the capacity, only the granularity of access.

6
  • 1
    I'm a bit confused about your second bullet. I haven't ever heard that the Format dialog can do partitioning - I've always done this with diskmgmt.msc, DiskPart.exe or a 3rd-party tool or fdisk and parted on Linux (or just use LVM). Do you have sources to back this claim up?
    – iBug
    Commented Feb 3, 2020 at 4:41
  • +1 anyways. I didn't know about the difference between formatting and creating a filesystem (always thought mke2fs "formats" a volume to ext2/3/4).
    – iBug
    Commented Feb 3, 2020 at 4:43
  • 4
    It can't do complex partitioning. It can, however, create a single full-disk partition on a disk that has no partitions at all.
    – Miral
    Commented Feb 3, 2020 at 5:26
  • Coming from the un*,x world, I call creating a partition table "initializing", creating partitions "partitioning" and creating filesystems "formatting". When you talk about formatting, what I understand is "(re)creating a filesystem" and not physically changing tracks, sectors and sizes. For me, that's hardware configuration. The act or intention of deleting all files I call "wiping the filesystem", not "formatting" as many other people do.
    – xdevs23
    Commented Feb 3, 2020 at 5:34
  • 4
    @xdevs23 so you are using the wrong terms!
    – Josef
    Commented Feb 3, 2020 at 8:44
1

The other answers are great. In fact the "Capacity" field is equivalent to the /F option in the format command. The latest version only supports 1.44 but you can find older references around the internet:

/F:size         The size of the floppy disk to format (720, 1.2, 1.44, 2.88, or 20.8).

https://ss64.com/nt/format.html

Here's the different format syntaxes for all DOS and Windows versions

You can even specify the number of tracks per disk side and the number of sectors per track to format instead of using the /F option

/T:tracks
    Specifies the number of tracks on the disk. When possible, use the /F
    switch instead of this switch. If you use the /T switch, you must also
    use the /N switch. These two switches provide an alternative method of
    specifying the size of the disk being formatted. You cannot use the /F
    switch with the /T switch.

/N:sectors
    Specifies the number of sectors per track. When possible, use the /F
    switch instead of this switch. If you use the /N switch, you must * also
    use the /T switch. These two switches provide an alternative method of
    specifying the size of the disk being formatted. You cannot use the /F
    switch with the /N switch.

https://www.infania.net/misc/dos622help/format.html

1
  • Good point for this discovery!
    – iBug
    Commented Feb 10, 2020 at 5:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .