mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: Hans A Eide <haeide@usit.uio.no>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] block/ub.c: Increase number of partitions for usb storage
Date: Wed, 10 May 2006 17:16:46 -0700	[thread overview]
Message-ID: <20060511001646.GB27465@kroah.com> (raw)
In-Reply-To: <20060502202412.0d68150f.zaitcev@redhat.com>

On Tue, May 02, 2006 at 08:24:12PM -0700, Pete Zaitcev wrote:
> On Tue, 2 May 2006 14:59:52 +0200, Hans A Eide <haeide@usit.uio.no> wrote:
> 
> > I do backups to external USB storage and hit the 8 partitions limit  
> > of ub.c
> > This could also be a problem for others (HFS+ formatted iPods?)
> 
> It was a bad mistake in retrospect. I limited ub to 8 partitions
> because I wanted to fit 26 devices into 8 bits of minor.
> 
> > Any reason for not increasing the partitions limit to 16?
> 
> Doing so would not be compatible for systems which do not run udevd.
> Linus forbade such changes, and I agree. So, if we strongly needed
> ub to go beyond 1+7 partitions, we would need some kind of a remapping
> scheme. I have to discuss this with Greg or Harald. Making dis-
> contiguous nodes is easy with mknod, but I do not know if udev
> supports it.

udev can handle it just fine, as it just looks at the sysfs "dev" file
to get the major:minor numbers.  It knows nothing about "ranges" :)

thanks,

greg k-h

  reply	other threads:[~2006-05-11  0:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1146575400.25877.linux-kernel2news@redhat.com>
2006-05-03  3:24 ` Pete Zaitcev
2006-05-11  0:16   ` Greg KH [this message]
2006-05-11  8:24     ` Hans A Eide
2006-05-02 12:59 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=20060511001646.GB27465@kroah.com \
    --to=greg@kroah.com \
    --cc=haeide@usit.uio.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zaitcev@redhat.com \
    /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

all inboxes | Powered by JetHome®