Messages in this thread | | | From | Hans A Eide <> | Subject | Re: [PATCH] block/ub.c: Increase number of partitions for usb storage | Date | Thu, 11 May 2006 10:24:07 +0200 |
| |
On 11. mai. 2006, at 02:16, Greg KH wrote:
> 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" :)
I can confirm this in practice. Good magic :-)
Hans
-- + + Hans A Eide, PhD. Senior Analyst, USIT haeide@usit.uio.no University of Oslo, Norway + +
- 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/
| |