i am working on script which uses "bdf" output to create excel sheet now when i check "Total" "Used" & "Available" i found that except root everywhere
used + available != total
script is just a perl script which reads "bdf" output redirected to file nothing else just performs some calculations like converting kb -> mb as such ..
The bdf command does not account for any disk space reserved for swap
space, or used for the HFS boot block (8 KB, 1 per file system), HFS
superblocks (8 KB each, 1 per disk cylinder), HFS cylinder group
blocks (1 KB - 8 KB each, 1 per cylinder group), and inodes (currently
128 bytes reserved for each inode). Non-HFS file systems may have
other items not accounted for by this command.