The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, viro@www.linux.org.uk,
	axboe@suse.de, zaitcev@redhat.com
Subject: Re: Sparse minor space in ub
Date: Fri, 16 Jun 2006 17:39:07 -0700	[thread overview]
Message-ID: <20060616173907.eaed13ae.zaitcev@redhat.com> (raw)
In-Reply-To: <20060616230929.GB31626@kroah.com>

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

  reply	other threads:[~2006-06-17  0:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-15  6:54 Sparse minor space in ub Pete Zaitcev
2006-06-16 23:09 ` Greg KH
2006-06-17  0:39   ` Pete Zaitcev [this message]
2006-06-17  9:32   ` Jan Engelhardt
  -- strict thread matches above, loose matches on Subject: below --
2006-06-18 19:33 Hans A Eide

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=20060616173907.eaed13ae.zaitcev@redhat.com \
    --to=zaitcev@redhat.com \
    --cc=axboe@suse.de \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@www.linux.org.uk \
    /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