lkml.org 
[lkml]   [2006]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] block/ub.c: Increase number of partitions for usb storage
Date

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

\
 
 \ /
  Last update: 2006-05-02 15:02    [W:0.025 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site