14 Nov
2001
14 Nov
'01
08:04
On Sunday 11 November 2001 01:06 pm, Dennis J. Tuchler wrote:
To operating sytems occupy my hd: os2 4.0 and linux (S.u.S.E. 7.2). I did a fdisk under OS/2 and a df -H under Linux and got quite different measurements of disk space (used+ available). For example, fdisk showed my swap partition to be 12 MB smaller than it was shown to be under Linux's df -H command. Why the difference? Which should I trust when trying to figure out use of disk space under linux 7.3?
Have you tried using df -h with a lower case h? Case is significant, the lower case -h uses 1024 sizes for kilobytes, etc, the standard in computers since it's a power of two. Upper case (-H) means 1000 used for the byte sizes.