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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux