5% reserved discrepancy (minor nitpick)

Robert Woodcock (rcw@netcom.com)
Tue, 6 Aug 1996 15:39:02 -0700 (PDT)


I made my fs with the mke2fs from Slackware 3 (0.5a), and I'm currently
running on kernel 2.0.0. I have not used tune2fs since then, so I still have
the default 5% set for root. A friend on #linux noticed that df wasn't quite
adding up (he's running on Redhat 3.0.3, exact same problem, then again,
same mke2fs version :)

mercury:~$ df /
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda5 659003 527991 95835 85% /
mercury:~$ /sbin/fdisk -l
[snip]
Device Boot Begin Start End Blocks Id System
[snip]
/dev/hda5 261 261 609 703552+ 83 Linux native
[...]

527991+95835=623826
659003-623826=35177 /* tune2fs also gives this number */
35177*20=703540 /* 1/20 = 5% */
^^^^^^
Shouldn't that turn out to 659000? Or is this the desired behavior?
And if it isn't, is it the ext2 utilities that the fs was made with or the
kernel vfs code that's at fault?

--
Robert Woodcock - rcw@netcom.com