* mount misbehaviour?
@ 2001-05-19 18:58 Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2001-05-19 18:58 UTC (permalink / raw)
To: kernel list, viro
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$
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mount misbehaviour?
@ 2001-05-19 19:27 Andries.Brouwer
0 siblings, 0 replies; 2+ messages in thread
From: Andries.Brouwer @ 2001-05-19 19:27 UTC (permalink / raw)
To: linux-kernel, pavel, viro
> 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
> ...
> Is that okay?
Yes. Your working directory does not change when you mount something.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-19 19:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-19 18:58 mount misbehaviour? Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2001-05-19 19:27 Andries.Brouwer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox