Re: openpromfs issue

From: David S. Miller
Date: Mon May 15 2006 - 16:44:53 EST


From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
Date: Mon, 15 May 2006 17:06:24 +0200 (MEST)

> /proc/openprom# ls -l
> ...
> 88 dr-xr-xr-x 2 root root 0 May 12 11:04 SUNW,UltraSPARC-II@1c,0
> 88 dr-xr-xr-x 2 root root 0 May 12 11:04 SUNW,UltraSPARC-II@1c,0
> ...
>
> What's wrong is obviously that there cannot be two directories with the
> same name (and on top, the same inode number).

A long standing and known bug, we don't put enough addressing
information into the node name so you get duplicates.

I have no plans to work on a fix, and if anything openpromfs
deserves a rewrite as it's very old code.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/