[PATCH] block/ub.c: Increase number of partitions for usb storage

From: Hans A Eide
Date: Tue May 02 2006 - 08:59:50 EST



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


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