Package: libparted0debian1 Version: 2.2-7 Severity: normal Usertags: gsoc2010 Tags: patch
Hello, The current libparted has the wrong format string for partition paths on Hurd, and comes up with (for instance) /dev/hd01 instead of /dev/hd0s1. As a consequence, partman (from debian-installer) fails to create the filesystem and mount the partition. The attached patch fixes this. Thanks, -- Jeremie Koenig <j...@jk.fr.eu.org> http://jk.fr.eu.org
Index: parted-2.2/libparted/arch/gnu.c =================================================================== --- parted-2.2.orig/libparted/arch/gnu.c 2010-06-21 18:29:55.000000000 +0200 +++ parted-2.2/libparted/arch/gnu.c 2010-06-21 18:30:05.000000000 +0200 @@ -845,7 +845,7 @@ result = (char*) ped_malloc (result_len); if (!result) return NULL; - snprintf (result, result_len, "%s%d", dev_path, part->num); + snprintf (result, result_len, "%ss%d", dev_path, part->num); return result; }