[OpenAFS] gnu du command issues

Frank Burkhardt fbo2@gmx.net
Thu, 28 Apr 2005 12:33:21 +0200


Hi,

On Wed, Apr 27, 2005 at 06:07:50PM -0700, David Bear wrote:

[snip]

> issuing a gnu du command from within afs an afs path I get an error:
> 
> du: '.' no such file or device.

It's working here:

 afstest@windhund:~ > pwd
 /afs/cbs.mpg.de/afs/user/afstest
 afstest@windhund:~ > lsm $PWD
 '/afs/cbs.mpg.de/user/afstest' is a mount point for volume '%user.afstest'
 afstest@windhund:~ > du --version
 du (coreutils) 5.2.1
 [...]
 afstest@windhund:~ > du .
 [...expected output...]


> this is when the mount point for the volume is the current directory.
> 
> issuing a du on the symlink pointing to the afs path I get
> a 0 count.

I don't think, this has anything to do with AFS:

 afstest@windhund:/tmp > ln -s /afs/cbs.mpg.de/user/afstest x1
 afstest@windhund:/tmp > du x1
 0       x1
 afstest@windhund:/tmp > ln -s /var/lib x2
 afstest@windhund:/tmp > du x2
 0       x2

Regards,

Frank