From: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2004@gmx.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [RFC] randomized major and minor numbers
Date: Thu, 04 Nov 2004 15:03:57 +0100 [thread overview]
Message-ID: <418A36CD.2030600@gmx.net> (raw)
Hi,
IIRC it was debated during 2.5 development to make the kernel
hand out randomized major/minor numbers to better test handling
of dynamic major/minor numbers. Is there a patch available
to test?
Background: I want to make sure that userspace can handle
arbitrary device numbers for disks in my quest for a unified
/dev/diskXpY naming and numbering scheme. This would unify
all the different naming schemes (hd*, sd*, ub*, etc.),
remove arbitrary limits like 15 partitions max on SCSI disks
and achieve most of this in userspace with udev.
In the end, there would be only one block major number >256
with dynamically allocated major numbers for all disks in the
system if LANANA agrees with such a concept. Why would I
want a major >256 registered? Because that way we can make
sure the software accessing these devices can handle a large
dev_t and it doesn't only work by luck.
Comments?
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
next reply other threads:[~2004-11-04 14:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-04 14:03 Carl-Daniel Hailfinger [this message]
2004-11-05 8:50 ` [RFC] randomized major and minor numbers Greg KH
2004-11-05 12:46 ` Carl-Daniel Hailfinger
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=418A36CD.2030600@gmx.net \
--to=c-d.hailfinger.kernel.2004@gmx.net \
--cc=linux-kernel@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