Linux – Are all storage devices divided into sectors

filesystemshard drivelinux

I have read that a hard disk is divided into regions called sectors (a sector can be for example 512 bytes in size).

And that a file system will arrange groups of sectors into blocks (a block can consist for example of 8 sectors) and when Linux writes a file to the hard disk, it actually writes to these blocks and not to the sectors.

Now my question is, are all storage devices (for example: USB drive, CD, DVD, etc.) divided into sectors, or is it just hard disks?

Best Answer

No. There are numerous storage devices that dont use sectors, such as punch cards.

Punch card

As you can see there are no sectors here.

No real reason to add this answer, other than I wanted to put a picture of a punch card. :)

Related Question