Closed vschiavoni closed 4 years ago
On my MAC, OS X 10.10.1 :
df -h Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk1 465Gi 453Gi 12Gi 98% 118783927 3053671 97% / devfs 201Ki 201Ki 0Bi 100% 697 0 100% /dev map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home squashfuse@osxfuse0 0Bi 0Bi 0Bi 100% 0 0 100% /private/tmp/unsquash
Unless this is a bug/feature of Fuse, it should report appropriate values. The same squashfs file mounted in Linux reports correct values (last line) :
df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/ubuntu--vg-root 9.0G 6.6G 2.0G 77% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 991M 8.0K 991M 1% /dev tmpfs 201M 352K 200M 1% /run none 5.0M 0 5.0M 0% /run/lock none 1001M 72K 1001M 1% /run/shm none 100M 0 100M 0% /run/user /dev/vda1 236M 38M 186M 17% /boot /dev/vdb 79G 55G 20G 74% /mnt/dataset /dev/loop0 5.1G 5.1G 0 100% /mnt/squashed
Fixed: https://github.com/vasi/squashfuse/commit/f7321d73d195716558e0c98b5078802eb39b2102
On my MAC, OS X 10.10.1 :
Unless this is a bug/feature of Fuse, it should report appropriate values. The same squashfs file mounted in Linux reports correct values (last line) :