[OpenAFS] gnu du command issues
David Bear
David.Bear@asu.edu
Thu, 28 Apr 2005 10:50:02 -0700
On Thu, Apr 28, 2005 at 12:33:21PM +0200, Frank Burkhardt wrote:
> 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...]
---------------
here's what I get
iddwb@moroni:/afs/asu.edu/pp> fs lsmount /afs/asu.edu/pp
'/afs/asu.edu/pp' is a mount point for volume '#pp'
iddwb@moroni:/afs/asu.edu/pp> du
du: `.': No such device
iddwb@moroni:/afs/asu.edu/pp> cd oss
iddwb@moroni:/afs/asu.edu/pp/oss> fs lsmount /afs/asu.edu/pp/oss
'/afs/asu.edu/pp/oss' is a mount point for volume '#pp.oss'
iddwb@moroni:/afs/asu.edu/pp/oss> du
90 ./technical/uncel
2 ./technical/New Folder
iddwb@moroni:/afs/asu.edu/pp/oss> pwd
/afs/asu.edu/pp/oss
iddwb@moroni:/afs/asu.edu/pp/oss> cd ..
iddwb@moroni:/afs/asu.edu/pp> pwd
/afs/asu.edu/pp
I'm running Suse 9.0, kernel 2.4.xx and openafs 1.2.10.xx
and du version 5.0 (gnu)
>
>
> > 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
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
--
David Bear
phone: 480-965-8257
fax: 480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
"Beware the IP portfolio, everyone will be suspect of trespassing"