Originally Posted by mwep
I completely realize that HDs are often sold with different sizes than is advertised. However; 10GB difference ? We aren't talking about a 500GB drive which is really only 485GB...
And if that is true... Does a 16GB OPO report only 6GB Total Space ?
Yikes, a total noob about everything related to computers?
The bits first have to have a filesystem created, typically ext3 for Android which has overheads of creating directory structures, permissions, users, etc. That often takes about 1% minimum to 5% typical, just to be able to write a file.
My Linux desktop I'm typing this on has a 128GB SSD which has 118929676 1KB blocks so has lost 12% due to the filesystem, and the journaling which allows a recoverable data in event of forced shutdown.
Then there is the partitioning. Here is my OPO's output from the df command
Filesystem Size Used Free Blksize
/dev 1.4G 132.0K 1.4G 4096
/sys/fs/cgroup 1.4G 12.0K 1.4G 4096
/mnt/asec 1.4G 0.0K 1.4G 4096
/mnt/asec/com.mapswithme.maps.pro-1 22.0M 20.3M 1.7M 4096
/mnt/asec/com.slingmedia.slingPlayer-1 40.0M 38.4M 1.6M 4096
/mnt/asec/com.sovworks.eds.android-2 6.0M 5.0M 1016.0K 4096
/mnt/obb 1.4G 0.0K 1.4G 4096
/mnt/fuse 1.4G 0.0K 1.4G 4096
/system 1.3G 750.7M 550.4M 4096
/data 54.9G 24.4G 30.5G 4096
/cache 503.6M 8.1M 495.4M 4096
/persist 4.9M 4.1M 784.0K 4096
/firmware 64.0M 54.9M 9.1M 16384
/storage/emulated 1.4G 0.0K 1.4G 4096
/mnt/shell/emulated 54.9G 24.4G 30.5G 4096
/storage/emulated/0 54.9G 24.4G 30.5G 4096
/storage/emulated/0/Android/obb 54.9G 24.4G 30.5G 4096
/storage/emulated/legacy 54.9G 24.4G 30.5G 4096
/storage/emulated/legacy/Android/obb 54.9G 24.4G 30.5G 4096
Some key areas are /system for OS files is 1.3GB, /cache for performance and temporary files is 504MB.
/data is for your own stuff which you see is 54.9GB.
Hence 64GB - 5% = 60.8GB (minus filesystem) - 1.3GB OS - 0.5GB cache = 59GB , then take away a lof of the other filesystems and you're getting to your 54.9GB.
As to the lesson learned? Well don't buy a small storage phone as the meer running of Android is taking up a lot and what's left is for you and so a 16GB phone would have very little left. So some idiot fool noob might think 16GB has 25% of the space of 64GB. Wrong! It has much less.
My understanding is ART takes up even more space as it pre-builds and has a cache?
OS tend to get bigger too, the constant battle with bloat.
Nexus 5 stock 4.4.4 +ElementalX rooted, Nexus 7 2013 stock 4.4.4 +ElementalX rooed, Nexus 10 CM 11 rooted, OnePlusOne stock rooted.