Re: interesting behaviour (2.1.56)

htw6966@htw-dresden.de
Mon, 22 Sep 1997 11:46:43 +0200 (DFT)


Michael Driscoll wrote:
>I just noticed some strange behaviour on my system.
>
>If I type 'cd /', then I end up in /, nothing strange here.
>If I type 'cd ///' then I end up in /, nothing strange here.
>However, if I type 'cd //' then I end up in /, but everything
>(such as 'pwd') thinks I'm in the directory //.
>
>I did some more fooling around and realized I could also
>cd to directories //tmp, //home/fenris, etc. But more than two
>leading slashes are collapsed. Non-leading slashes are always
>properly collapsed.
>
>Could this be a special case that is handled wrong in the new
>fs code I've heard so much about?
>
>The root partition is ext2, btw.
>
>Linux ulfheim.frob.ml.org 2.1.56 #1 Sat Sep 20 16:17:34 MDT 1997 i586 unknown
>

2.1.40 doesn't show this behavior (root: /dev/hdb2, ext2) - perhaps occured in
versions between or is Distribution dependent (I use a new Kernel on SuSE Linux
4.4)
uname: Linux main 2.1.40 #5 Sat May 31 15:01:22 MEST 1997 i586

Konrad