[parted-devel] Patch against SVN (1.8.0rc2)
Debarshi 'Rishi' Ray
debarshi.ray at gmail.com
Fri Oct 27 19:50:38 CEST 2006
Here is the diff -urNp between the original and modified (by me)
trunks of 1.8.0rc2.
diff -urNp trunk/parted/parted.c trunk-modified/parted/parted.c
--- trunk/parted/parted.c 2006-10-11 22:27:40.000000000 +0000
+++ trunk-modified/parted/parted.c 2006-10-27 23:17:03.000000000 +0000
@@ -1192,9 +1192,9 @@ do_print (PedDevice** dev)
int has_num_arg = 0;
int has_free_arg = 0;
int has_all_arg = 0;
- char* transport[12] = {"unknown", "scsi", "ide", "dac960",
+ char* transport[13] = {"unknown", "scsi", "ide", "dac960",
"cpqarray", "file", "ataraid", "i2o",
- "ubd", "dasd", "viodasd", "sx8"};
+ "ubd", "dasd", "viodasd",
"sx8", "dm"};
char* peek_word;
char* start;
char* end;
It has mainly got to do with adding the extra entry for 'device
mapper' devices in parted/parted.c so that the transport for such
devices is correctly shown.
Happy hacking,
Debarshi
--
"India is not, as people keep calling it, an underdeveloped country,
but rather a developed nation in an advanced state of decay."
--Shashi Tharoor
More information about the parted-devel
mailing list