Re: [RFC] fix sysfs symlinks

From: Greg KH
Date: Fri Apr 16 2004 - 19:20:09 EST

On Sat, Apr 17, 2004 at 12:46:02AM +0100, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> On Fri, Apr 16, 2004 at 03:37:32PM -0700, Greg KH wrote:
> > Since when did we ever assume that renaming a kobject would rename the
> > symlinks that might point to it? Renaming kobjects are a hack that way,
> > if you use them, you need to be aware of this limitation.
> Since we assume that these symlinks actually reflect some relationship
> between the objects and are really needed for something. If they are
> not - why the hell do we keep them at all?

They show a relationship, yes. And it would be nice to be able to try
to keep that link around if possible.

But what devices currently have this problem? I only thought network
devices renamed themselves, and there are no symlinks to those devices,
only out from it. In grepping the tree, they seem like the only users
of this functionality, and they would never need the symlink "reaname".


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at