build_kernel_number() whats wrong with sdaj?
Hi Greg,
in namedev.c is:
/* FIXME, figure out how to handle stuff like sdaj which will not work right now. */ in TODO is:
fix kernel name logic to handle devices like sdaj and such
What exactly is the problem with sdaj?
I've made 50 pseudo scsi-adapter and put two partitions on sdaj and udev made:
brw------- 1 root root 66, 48 Dec 18 03:54 /udev/sdaj brw------- 1 root root 66, 49 Dec 18 03:56 /udev/sdaj1 brw------- 1 root root 66, 50 Dec 18 03:56 /udev/sdaj2
in sd.c in the kernel is:
if (index >= 26) {
sprintf(gd->disk_name, "sd%c%c", 'a' + index/26-1,'a' + index % 26);
} else {
sprintf(gd->disk_name, "sd%c", 'a' + index % 26);
}
thanks,
Kay
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel