On Tue, 16 Aug 2005, Bruno Haible wrote:

>[EMAIL PROTECTED]:~ $ ls -ld data
>lrwxr-xr-x  1 bruno  bruno  17 24 Aug  2004 data -> /Volumes/UserData
>
>[EMAIL PROTECTED]:/smb/ibook $ ls -ld data
>drwxr-xr-x    1 bruno    user         4096 Aug 11 00:54 data
>
>The mistake that 'df' did is: When it climbed up directories until it
>found a mount point
>  /smb/ibook/data/temp
>  /smb/ibook/data
>  /smb/ibook
>it only considered mount points on the current host (linuix), but ignored
>mount points and symbolic links on the machine that exports the filesystem.

By having the smb server "inline" symlinks in this way, I'm not
surprised the lower-level filesystem utils misreport the free space. The
kernel is lying somewhat about the "data" directory entry on the client.

(Open question) Should the reported free space be the combination of
both/all server partitions, and how should df discover them?


Cheers,
Phil


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to