[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: df displays wrong figures for network mounts

From: Philip Rowlands
Subject: Re: df displays wrong figures for network mounts
Date: Tue, 16 Aug 2005 21:26:34 +0100 (BST)

On Tue, 16 Aug 2005, Bruno Haible wrote:

>address@hidden:~ $ ls -ld data
>lrwxr-xr-x  1 bruno  bruno  17 24 Aug  2004 data -> /Volumes/UserData
>address@hidden:/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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]