Re: Unregistering interfaces

From: Greg KH
Date: Tue Mar 30 2004 - 19:37:39 EST

On Tue, Mar 30, 2004 at 04:08:53PM -0800, David Brownell wrote:
> Alan Stern wrote:
> > I'm in favor of changing the behavior of sysfs, so that either it
> >refuses to delete directories that contain subdirectories or else it
> >recursively deletes the subdirectories first. At this point nothing has
> >been settled.
> Hmm, certainly I agree khubd should be deleting things bottom-up.
> Are you say it isn't doing that already? Or that it's trying to,
> but something's preventing that from working?

Look at everything that hangs off of usb devices in the sysfs tree that
the usb core knows nothing about (scsi hosts, tty devices, etc.)

Anyway, it's working properly now, and is why I added that kobject
parent patch a long time ago (which Alan still seems to think is


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