[lkml]   [2003]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] register_blkdev
On Sat, 2003-03-08 at 01:13, Linus Torvalds wrote:
> On Fri, 7 Mar 2003, Andrew Morton wrote:
> >
> > Some time back Linus expressed a preference for a 2^20 major / 2^12 minor split.
> Other way around. 12 bits for major, 20 bits for minor.
> Minor numbers tend to get used up more quickly, as shown by the current
> state of affairs, and also as trivially shown by things like pty-like
> virtual devices that pretty much scale arbitrarily with memory and users.

20:12 is easier for the current behaviour. 12:20 with the ability to hand out
sections of space has great potential for lumping things like "disks",
"serial ports" and so on together in more logical ways. 12:20 also makes the
compatibility logic easier since all of the legacy space falls in "major 0"
which becomes the remangler.

Is there any reason for not using CIDR like schemes as Al Viro proposed a long
time back (I think it was Al anyway). That also sorts out the auditing problem

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.081 / U:1.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site