Re: squashfs size in statfs

From: H. Peter Anvin
Date: Mon Jun 05 2006 - 18:56:33 EST


Followup to: <Pine.LNX.4.61.0606051243100.579@xxxxxxxxxxxxxxx>
By author: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> Hello list,
>
>
> # l /mnt
> total 36293
> drwxr-xr-x 2 root root 20 Jun 5 11:50 .
> drwxr-xr-x 31 root root 4096 Jun 5 2006 ..
> -rw-r--r-- 1 root root 37158912 Jun 5 11:06 mem
> # df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/shm/sc.sqfs 26688 26688 0 100% /mnt
> # l sc.sqfs
> -rwx------ 1 jengelh users 27279360 Jun 5 11:50 sc.sqfs
>
> I think statfs() should show the uncompressed size, no?
>

No.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/