1 --- parted-1.7.0/include/parted/device.h.P150 2006-05-19 10:32:18.000000000 -0400
2 +++ parted-1.7.0/include/parted/device.h 2006-05-19 11:01:23.000000000 -0400
7 + PED_DEVICE_VIODASD = 10,
11 --- parted-1.7.0/libparted/arch/linux.c.P150 2006-05-19 10:54:51.000000000 -0400
12 +++ parted-1.7.0/libparted/arch/linux.c 2006-05-19 11:02:45.000000000 -0400
17 +#define VIODASD_MAJOR 112
18 #define SX8_MAJOR1 160
19 #define SX8_MAJOR2 161
22 dev->type = PED_DEVICE_ATARAID;
23 } else if (dev_major == DASD_MAJOR && (dev_minor % 0x4 == 0)) {
24 dev->type = PED_DEVICE_DASD;
25 + } else if (dev_major == VIODASD_MAJOR && (dev_minor % 0x8 == 0)) {
26 + dev->type = PED_DEVICE_VIODASD;
27 } else if (_is_sx8_major(dev_major) && (dev_minor % 0x20 == 0)) {
28 dev->type = PED_DEVICE_SX8;
29 } else if (_is_i2o_major (dev_major) && (dev_minor % 0x10 == 0)) {
31 goto error_free_arch_specific;
34 + case PED_DEVICE_VIODASD:
35 + if (!init_generic (dev, _("IBM iSeries Virtual DASD")))
36 + goto error_free_arch_specific;
39 case PED_DEVICE_CPQARRAY:
40 if (!init_generic (dev, _("Compaq Smart Array")))
41 goto error_free_arch_specific;