Hi,
Using fdisk I created a partition of 15.7 GB. I entered +15700M
Using sfdisk there is a heading called blocks and there is a number which is approximatly 400 BM less. When I mount the partition and use df -l the 1K block column displays only 15GB!
I need to understand these numbers if I am going to create a partition of an appropriate size. Can anyone tell me the mathematics behind these numbers please!
Preliminarily I am thinking it has to do with "rounding off" of file sizes according to different schemes:
take a look at the fstab man page as it has options for
fstab -b = sectorsize of disk
fstab -C = cyls
fstab -H = heads
fstab -S = sectors per track of the disk (used for partition tables)
I think this is what you are asking.............?
the man page for df states that using the -l option gives results of the local filesystem only.
not sure what that means exactly right at the moment, but also you can use df -h
for "human readable" either in kb, MB, or GB
hope this helps.