From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 18 Dec 2003 03:09:32 +0000 Subject: [udev] build_kernel_number() whats wrong with sdaj? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel