>Hi Marty,
>
>>  I accidently typed cd // on one of my slackware 7.0 boxes.
>>
>>  Surprisingly it happily took me to //, which seems to be an alias for
the /
>>  directory.
>>
>Not quite. The pathname treats multiple /'s as a single /. I think
>this is implemented in the guts of the kernel, in the routine that
>translates directory paths to inode numbers and disk locations
>(namei?) so it should happen for all pathnames in all applications but
>I'm guessing.
>
>If you do pwd you should see '/' and not '//'. If you do see '//' I
>would consider that a bug in slackware.
>You will find you can cd to ///, or //// or even ///usr/////bin

Thanks for the info.

pwd returns //

cd /// or any other number of /'s gives me / as expected.

Maybe its a slackware feature ;)

:)

Cheers,
Marty



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to