A moment ago I unmounted my 1TB HDD with 400GB of content and I partition it into two different partitions, obviously keeping the space that was already occupied. I did because I don’t care if the content get corrupted, but after I did it everything is still working perfectly, when I thought everything would be corrupted.

I am possibly a complete ignorant on this subject, but due to the nature of the HDD and how it writes and reads data I expected it to corrupt everything, why didn’t it happen? On an SSD on the other hand I would not consider that possible because it is not even a mechanical part where the information is stored.

  • @xantoxis
    link
    38 months ago

    I kinda really want a description of the mental model that led to “HDD can’t do this but SSD can”.

    • @[email protected]OP
      link
      fedilink
      38 months ago

      As I said, I am not an expert on the subject, my mentality comes from the fact that my concept of partitions was that they were overwritten, like making a scratch on a DVD and the content could not be read because of that.

    • @[email protected]
      link
      fedilink
      28 months ago

      I think the idea comes from “HDD slow,” as he was impressed with the speed it was happening at, especially if you think of it as requiring data to be moved around on the disk. It’s not really intuitive to think of it as just a table on the disk somewhere that says which regions belong to which partition, and having those regions be anywhere on the disk.

      • ∟⊔⊤∦∣≶
        link
        fedilink
        28 months ago

        Is that actually how it works? I thought that was only within the partition itself, while partitions are physically separate on the platter.

        • @[email protected]
          link
          fedilink
          48 months ago

          For SSD’s, it’s 100% a logical table, because data is stored all over the place for load balancing purposes, so it already uses a logical table to keep track of what each block is for at any given point in time.

          For HDD’s, historically they were physically separated, and they mostly are still, but there’s still a logical table, and there’s no reason the logical table can’t say “Blocks 0 through 1234 and 2000 are part of partition 1” if you have something somewhere else that you want on that partition.