mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] block/ub.c: Increase number of partitions for usb storage
@ 2006-05-02 12:59 Hans A Eide
  0 siblings, 0 replies; 4+ messages in thread
From: Hans A Eide @ 2006-05-02 12:59 UTC (permalink / raw)
  To: linux-kernel


Hi,

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?)

Any reason for not increasing the partitions limit to 16?

Thanks,

Hans

diff -u drivers/block/ub.c.orig drivers/block/ub.c
--- drivers/block/ub.c.orig     2006-05-02 09:16:22.000000000 +0200
+++ drivers/block/ub.c  2006-04-30 13:37:34.000000000 +0200
@@ -113,7 +113,7 @@
/*
   */
-#define UB_PARTS_PER_LUN      8
+#define UB_PARTS_PER_LUN      16
#define UB_MAX_CDB_SIZE      16                /* Corresponds to Bulk */



--
Hans A. Eide
University of Oslo, Norway



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-11  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1146575400.25877.linux-kernel2news@redhat.com>
2006-05-03  3:24 ` [PATCH] block/ub.c: Increase number of partitions for usb storage Pete Zaitcev
2006-05-11  0:16   ` Greg KH
2006-05-11  8:24     ` Hans A Eide
2006-05-02 12:59 Hans A Eide

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®