free space on xubuntu persistent
Hi everyone. I enjoy xubuntu on my usb drive. I try to calculate how much free space is left on the device. So i ve tried the following method
mount /dev/loop0 /mnt/ro
root@ubuntu:/home/ubuntu# df -h /mnt/ro
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 567M 567M 0 100% /mnt/ro
root@ubuntu:/home/ubuntu# du -sh /mnt/ro
1.5G /mnt/ro
1)df gives file space usage which it is 567M
2)du give the estimate file usage which says it is 1.5GB
I believe that the 1) is the disk space currently used and
the 2)the total available to write on
Can u help me a little more?
|