lkml.org 
[lkml]   [2006]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Sparse minor space in ub
On Fri, 16 Jun 2006 16:09:29 -0700, Greg KH <greg@kroah.com> wrote:

> > - 8 = /dev/ubb Second USB block device
> > + 16 = /dev/ubb Second USB block device

> I don't think that distros that have a static /dev will like this change
> at all :(

That was an erroneous change in the documentation, I'm sorry.
In reality, everything is fully compatible. This is with the new
driver:

[zaitcev@lembas ~]$ ls -l /dev/ub*
brw-r----- 1 root disk 180, 0 Jun 14 23:18 /dev/uba
brw-r----- 1 root disk 180, 1 Jun 14 23:18 /dev/uba1
brw-r----- 1 root disk 180, 8 Jun 14 23:18 /dev/ubb
brw-r----- 1 root disk 180, 9 Jun 14 23:18 /dev/ubb1
brw-r----- 1 root disk 180, 10 Jun 14 23:18 /dev/ubb2
brw-r----- 1 root disk 180, 13 Jun 14 23:18 /dev/ubb5
brw-r----- 1 root disk 180, 14 Jun 14 23:18 /dev/ubb6
brw-r----- 1 root disk 180, 15 Jun 14 23:18 /dev/ubb7
brw-r----- 1 root disk 180, 264 Jun 14 23:18 /dev/ubb8
brw-r----- 1 root disk 180, 265 Jun 14 23:18 /dev/ubb9
[zaitcev@lembas ~]$

/*
- */
+ * The minor layout is:
+ * 19 - 11 0xFF800
+ * 10 - 8 0x700 Upper 3 bits of partition number
+ * 7 - 3 0xF8 Host index, or same as "id". UB_MAX_HOSTS fit here.
+ * 2 - 0 0x7 Lower 3 bits of partition number
+ */

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-17 02:42    [W:0.046 / U:34.288 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site