Re: Unregistering interfaces
From: Alan Stern
Date: Wed Mar 31 2004 - 10:34:22 EST
On Tue, 30 Mar 2004, 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?
No, no -- as far as I know khudb gets rid of things in a perfectly correct
manner. But there are plenty of other parts in the Linux kernel, and I
don't know that they all delete things bottom-up. Greg implies that
usb-serial and the kernel's tty subsystem don't do this; I haven't had a
chance to look into it.
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/