Harald Welte <[EMAIL PROTECTED]> wrote: > This patch adds a new SDMMC device type to represent SD/MMC > cards. There is nothing special about handling those devices, > they are just standard block devices with different names. > > They use device major ID 179 and are usually called > /dev/mmcblkN (where N is the card number) and the individual partitions > /dev/mmcblkNpM (where M is the partition number). > > This patch was developed as part of an effort to make debian-installer > support installation of Debian GNU/Linux on SD/MMC cards, as boot-from-SD > is becoming a feature seen in mobile x86 devices.
Thanks! I've applied that with the following tiny change, to make it so the array size needn't be modified manually: diff --git a/parted/parted.c b/parted/parted.c index d7c0292..e026986 100644 --- a/parted/parted.c +++ b/parted/parted.c @@ -1268,10 +1268,10 @@ do_print (PedDevice** dev) int has_free_arg = 0; int has_list_arg = 0; int has_num_arg = 0; - const char *const transport[15] = {"unknown", "scsi", "ide", "dac960", - "cpqarray", "file", "ataraid", "i2o", - "ubd", "dasd", "viodasd", "sx8", "dm", - "xvd", "sd/mmc"}; + const char *const transport[] = {"unknown", "scsi", "ide", "dac960", + "cpqarray", "file", "ataraid", "i2o", + "ubd", "dasd", "viodasd", "sx8", "dm", + "xvd", "sd/mmc"}; char* peek_word; char* start; char* end; _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted