* Re: [udev] build_kernel_number() whats wrong with sdaj?
@ 2003-12-19 18:04 Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-12-19 18:04 UTC (permalink / raw)
To: linux-hotplug
On Thu, Dec 18, 2003 at 04:09:32AM +0100, Kay Sievers wrote:
>
> 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?
Hm, I guess nothing. I was under the impression that the 'j' was the
"kernel number" there... I guess I'll go delete that comment, sorry...
greg k-h
-------------------------------------------------------
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_id\x1278&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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [udev] build_kernel_number() whats wrong with sdaj?
@ 2003-12-18 3:09 Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2003-12-18 3:09 UTC (permalink / raw)
To: linux-hotplug
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_id\x1278&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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-19 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-19 18:04 [udev] build_kernel_number() whats wrong with sdaj? Greg KH
-- strict thread matches above, loose matches on Subject: below --
2003-12-18 3:09 Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).