Author Topic: R121: Something Odd With Filesystem Usage  (Read 1684 times)

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
R121: Something Odd With Filesystem Usage
« on: December 31, 2006, 03:30:13 am »
I have r121 running on my C760 with nothing plugged into ither the Cf or the SD slots.
df says that the root filesystem has around 61Mb used
while "du -ms /" says that I have 112 Mb used !!!!

What's going on ?
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
R121: Something Odd With Filesystem Usage
« Reply #1 on: January 05, 2007, 06:51:36 pm »
The JFFS2 filesystem used for the internal flash root has built in compression.  So df displays the amount of space taken up by the compressed data and du displays the amount of uncompressed data.
« Last Edit: January 05, 2007, 06:52:24 pm by rgrep »
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
R121: Something Odd With Filesystem Usage
« Reply #2 on: January 06, 2007, 08:31:03 am »
Thanks ... that surley explains the difference.
And also why when creating an ext3 root image on a SD/MMC there was no way to fit the same stuff on a 128 Mb device, which works out to be insufficient for the 112Mb once you detract the journal db, superblocks, inode tables, and wasted space in non fully used blocks.

Thanks again
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing