[7234] in Athena Bugs
vax 7.2R: du
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Mar 4 02:59:46 1991
From: ckclark@ATHENA.MIT.EDU
Date: Mon, 4 Mar 91 02:59:32 -0500
To: bugs@ATHENA.MIT.EDU
System name: w20-575-99
Type and version: CVAXSTAR 7.2R
Display type: SM
What were you trying to do?
du /mit/emacs
What's wrong:
Dig this:
/mit/ckclark% du /mit/emacs <<<< Notice no output!
/mit/ckclark% ls -l /mit/emacs
lrwxrwxrwx 1 root 66 Mar 4 02:37 /mit/emacs -> /afs/rel-eng.athena.mit.edu/project/release/public/gnu/emacs.18.54
/mit/ckclark% du /mit/emacs/ <<<< This works, though.
60 /mit/emacs/etc/RCS
1007 /mit/emacs/etc
1355 /mit/emacs/man
1197 /mit/emacs/info
94 /mit/emacs/lisp/RCS
59 /mit/emacs/lisp/term
3557 /mit/emacs/lisp
128 /mit/emacs/oldXMenu
165 /mit/emacs/src/RCS
213 /mit/emacs/src/old
4240 /mit/emacs/src
5 /mit/emacs/RCS
11586 /mit/emacs
/mit/ckclark%
I have have narrowed this problem down to this:
If the attached locker is on NFS, 'du <dirpath>' will work, with or
without the trailing forward-slash, but if the locker is on AFS, you
must have the trailing slash, or else 'du' will produce no output.
What should have happened:
It should ignore the trailing '/' in any directory path, and
should definitely not require it for either NFS or AFS.
Please describe any relevant documentation references:
DU(1)