David...
I believe it's cleaner and a bit faster, once you don't have to do a lot of if's as you do into ioctl().
Do you have any way to quantify your assertion? It would seem to me that traversing some procfs hierarchy is less efficient than using ioctl(). Also, (1) is ioctl() really being phased-out, (2) is sysctl preferred over devfs, and (3) why in either case? Thanks!
-- Gary Chambers // ------------------------------------- // Advanced SatComm Systems & Operations // MIT Lincoln Laboratory / 781-981-0957 // Lexington, Massachusetts // Nothing fancy and nothing Microsoft // ------------------------------------- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ