OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: louigi600 on December 31, 2006, 03:30:13 am

Title: R121: Something Odd With Filesystem Usage
Post by: louigi600 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 ?
Title: R121: Something Odd With Filesystem Usage
Post by: rgrep 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.
Title: R121: Something Odd With Filesystem Usage
Post by: louigi600 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