Re: [Patch -mm 2/5] driver core: Introduce device_move(): move a device to a new parent.

From: Greg KH
Date: Wed Nov 15 2006 - 02:06:49 EST


On Tue, Nov 14, 2006 at 11:32:08AM +0100, Cornelia Huck wrote:
> From: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
>
> Provide a function device_move() to move a device to a new parent device. Add
> auxilliary functions kobject_move() and sysfs_move_dir().

At first glance, this looks sane, but for the kobject_move function, we
are not notifying userspace that something has changed here.

Is that ok?

How will udev and HAL handle something like this without being told
about it? When the device eventually goes away, I think they will be
very confused.

thanks,

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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/