[PLUG] Found a strange file node on my Linux System

Charlie Schluting charlie at schluting.com
Sat Jun 10 00:29:44 UTC 2006


alan wrote:
> On Fri, 9 Jun 2006, Robert Jeffrey Miesen wrote:
> 
>> Hi.
>>
>>     I was navigating my system today and instead of typing in "cd /",
> 
> This appears to be a bug in bash.  I have reproduced it on AIX running
> bash, as well as Linux.  It does not occur in any other shell I have tried.
> 


Not bug, feature (really). And it isn't your shell, afaict, since stat()
will get all three slashes and do the right thing anyway:

lstat64("///", 0xFFBFEE90)                      = 0

I can confirm it works like with with every shell I try. (using "ls ///")

-Charlie



More information about the PLUG mailing list