There are (mainly) 3 reasons for that:
-
TB vs TiB: Computers don’t count drive space in metric units, they count it in powers of 2. This means that, for you, 1 TB is 1000 GB, while for a computer, 1 TiB is 1024 GiB. Drive manufactirers take advantage of this, and only count space in metric (TB). So when you plug the drive into your computer, and it converts to GiB, you end up with 1 TB = 931.3 GiB. Windows hasn’t helped this confusion, I remember it doing something weird like counting in GiB and displaying it as GB.
-
Reserved space: Many OSes reserve some space on their drives for special stuff. This is especially the case with Linux and ext4, where it by default reserves a percentage of the drive to root. This is to optimize distribution of files around the disk, which limits fragmentation. The system slowly frees more of this space as you fill up the disk, and at the end it should leave you with 100% of the space.
-
Formatting: Empty drive space isn’t the same as usable drive space. In order to use a drive you need to format it, which doesn’t just blank it. Formatting a drive adds a filesystem to it, which is what allows you to write files and folders to it. This filesystem takes up some space, and reserves more space for inodes and, in some cases, a filesystem journal. Some filesystems have even more features that also take up some space.
JcbAzPx@lemmy.world 6 days ago
GB to measure binary gigabytes came first. GiB was invented because advertisers and drive manufacturers are evil.
black0ut@pawb.social 6 days ago
GiB weren’t invented by drive manufacturers (although they definitely benefit from it, and are incredibly scummy about it). It was invented by the SI people. GiB make sense, because the prefix “Giga” means 10⁶, while in binary it meant 2²⁰. It was a mess before, and GiB just standardized it in a way that is easy to understand and consistent with other units.
I do think we should force drive manufacturers to express their drive capacity in binary format, tho.
JcbAzPx@lemmy.world 5 days ago
Right, in response to drive manufacturers using GB incorrectly.