What is the size of the memory cell (minimum addressable object) for hdd?

  • 2
    512 bytes such as - tCode
  • So much can not be. int will be 512 bytes to occupy? - Shilko2013 1:51
  • 2
    @ Shilko2013 There is a vague feeling that you assume that there is some logical connection between the two questions: "What is the size of the minimum addressable object of the HDD?" and "int will be 512 bytes to occupy?" Explain what this relationship is? - Yaant
  • one
    @ Shilko2013 This is not enough (see my answer). And what makes you think that int will occupy 512 bytes? It will occupy the amount allocated to it within these 512 bytes, adjacent to other data. By the way, you know that when reading data from RAM, for example, in the processor's cache, reading is also not byte-wise, but in blocks. - user194374 2:42

1 answer 1

The hard disk drive (HDD) is currently split into 512 byte sectors. A sector is the minimum addressable unit of data on disk. There are more modern disks supporting the so-called Advanced Format, according to which the sector occupies 4096 bytes. But they have an emulation mode with a sector size of 512 bytes.

  • Here it would be appropriate to add a couple more words about file systems, and about the cluster size. :) - Yaant