[Stgt-devel] [PATCH] ssc.c set default to removable media
Albert Pauw
albert.pauw
Sat Jul 19 20:16:02 CEST 2008
--- ssc.c 2008-07-19 19:29:58.000000000 +0200
+++ ssc.c.new 2008-07-19 20:13:29.000000000 +0200
@@ -102,6 +102,7 @@
lu->attrs.version_desc[0] = 0x0200; /* SSC no version claimed */
lu->attrs.version_desc[1] = 0x0960; /* iSCSI */
lu->attrs.version_desc[2] = 0x0300; /* SPC-3 */
+ lu->attrs.removable = 1; /* Default to removable media */
data = lu->mode_block_descriptor;
size = lu->size >> BLK_SHIFT;
More information about the stgt
mailing list