Skip to contentSkip to conversation

mount misbehaviour?

DISCUSSION Pavel Machek 1 participant 1 message May 19, 2001

lore
Share & tools
lore
#0 lore raw

Hi!

I just had small surprise with 2.4.0:

root@bug:/zip# mount /zip
root@bug:/zip# ls -al
total 8
drwxr-xr-x    2 root     root         4096 Dec  1 08:29 .
drwxr-xr-x   31 65534    root         4096 Apr 24 20:56 ..
root@bug:/zip# cd /zip
root@bug:/zip# ls -al
total 22182
drwxr-xr-x    4 root     root        16384 Jan  1  1970 .
drwxr-xr-x   31 65534    root         4096 Apr 24 20:56 ..
-rw-r--r--    1 root     root     22687788 May 18 11:48 delme.wav
drwxr-xr-x    2 root     root         2048 May 18 11:30 karantena
drwxr-xr-x    5 root     root         2048 May  9 14:15 statnice

...Mounting directory under me does not seem healthy. cd fixes it... Is that okay?
Pavel
PS: Al, would you please add credit line for yourselves?

pavel@bug:/usr/src/linux$ grep Viro CREDITS
pavel@bug:/usr/src/linux$ grep Viro MAINTAINERS
pavel@bug:/usr/src/linux$ 
Signature · 2 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]