From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [udev] build_kernel_number() whats wrong with sdaj?
Date: Thu, 18 Dec 2003 03:09:32 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-107171713826162@msgid-missing> (raw)
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
next reply other threads:[~2003-12-18 3:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-18 3:09 Kay Sievers [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-12-19 18:04 [udev] build_kernel_number() whats wrong with sdaj? Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-107171713826162@msgid-missing \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).