Thanks to Kay for pointing it out to me.
-- fix kernel name logic to handle devices like sdaj and such.
- more documentation (can never have too much.)
- better partition support (it's a hack right now, maybe new libsysfs changes
can help out a lot here.)
- more documentation (can never have too much.)
- better partition support (it's a hack right now, maybe new libsysfs changes
can help out a lot here.)
- /* FIXME, figure out how to handle stuff like sdaj which will not work right now. */
dig = class_dev->name + strlen(class_dev->name);
while (isdigit(*(dig-1)))
dig--;
dig = class_dev->name + strlen(class_dev->name);
while (isdigit(*(dig-1)))
dig--;