Re: Device enumeration (was Re: CD writing in future Linux (stirring up a hornets' nest))

From: Greg KH
Date: Tue Feb 14 2006 - 19:52:38 EST


On Tue, Feb 14, 2006 at 07:24:22PM -0500, Rob Landley wrote:
>
> I plan to start objecting earlier in future next time they propose to break us
> for no readily apparent reason.

Please do.

> The best way to stabilize an interface is to have users object, and udev
> doesn't count. Not only do they implement both the kernel and the userspace
> side, but in project management terms anybody who approaches shared libraries
> by keeping their own custom copy of the library source in their project
> source tree...

That was because we needed a local copy of libsysfs due to linking
against klibc. Also because we needed to fix up libsysfs to actually
work for our needs :)

Anyway, we've now dropped libsysfs entirely, replacing it with 200 lines
of code that is much faster and more flexible.

> Not exactly a role model for respecting and stabilizing the interfaces
> they link against. Not that I ever understood what libsysfs was for
> anyway, since the point of sysfs is to be _easy_to_parse_... But I'm
> also not surprised libsysfs dried up and blew away when it's main user
> forked the project.

libsysfs dried up and blew away when IBM abandonded it and stoped
funding the developers who were working on it. Projects need active
developers, something that IBM was not willing to provide for this one,
for whatever reason...

> If mdev accomplishes nothing else, we can poke Linus and go "no fair, this was
> exported to userspace and we depend on it", which udev hasn't.

Again, please complain if we break anything, we want to know, and I'll
do my best to keep it from happening.

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/