Pretty simple thing I've noticed...
2.1.121:
[sroot@red:/tmp]# echo hello world > foo
[sroot@red:/tmp]# ls -l foo foo/ foo//
-rw-r--r-- 1 root root 12 Sep 11 00:05 foo
-rw-r--r-- 1 root root 12 Sep 11 00:05 foo/
-rw-r--r-- 1 root root 12 Sep 11 00:05 foo//
2.0.35:
[sroot@sprite:/tmp]# echo hello world > foo
[sroot@sprite:/tmp]# ls -l foo foo/ foo//
/bin/ls: foo/: Not a directory
/bin/ls: foo//: Not a directory
-rw-r--r-- 1 root root 12 Sep 11 00:06 foo
Is it me or is this broken in 2.1 kernels? I've noticed this happening
for a while, and it also seems to break globbing in tcsh (bash does an
additional lstat() which makes it not appear, I'm guessing).
2.1.121, tcsh:
[sroot@red:/tmp]# ls -al foo*/
-rw-r--r-- 1 root root 12 Sep 11 00:05 foo/
2.1.121, bash:
red:/tmp# ls -al foo*/
/bin/ls: foo*/: No such file or directory
...Was this changed intentionally or is it a bug? If my memory serves me
correctly, this started happening at about 2.1.85...
Simon-
| Simon Kirby | Systems Administration |
| mailto:sim@netnation.com | NetNation Communications |
| http://www.netnation.com/ | Tech: (604) 684-6892 |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html