devfs weirdnesses in 2.4.3 (-ac5)

Andreas Ferber (aferber@techfak.uni-bielefeld.de)
Mon, 16 Apr 2001 03:54:56 +0200


Hi,

I recently noticed some weird behaviour in devfs.

- some symlinks not showing up in directory listings, although they
are surely existing. I noticed this with symlinks created by devfsd
for IDE devices (/dev/hda{9,10,11} showing in normal ls, other hda
entries are hidden). If I explicitly give the name of one of the
hidden symlinks (for example "ls -l /dev/hda"), it shows the
symlink, and I can see that the symlink is absolutely correct (as
far as ls output goes...). Sadly I'm not able to reproduce this
behaviour now, but read on.
- same thing with ippp*. Some ippp symlinks are now hidden. If I do a
"rm ippp*" in /dev, the visible symlinks are removed, and
the hidden entries become visible. With a second "rm ippp*", the
originally hidden symlinks are also removed.

The kernel version used is 2.4.3-ac5, but as the ac patches only
change one line in devfs code, related to devfsd notification, I think
the problem should exist in non-ac kernel also.

Andreas

-- 
Our missions are peaceful -- not for conquest.  When we do battle, it
is only because we have no choice.
		-- Kirk, "The Squire of Gothos", stardate 2124.5

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/