Package: gparted Version: 0.19.0-2 Severity: minor Dear Maintainer,
During the process of recovering from a physical drive failure, I used ddrescue to image the contents of the old drive onto a new one. After doing so, I launched gparted and queued a number of partition moving and resizing operations (to take advantage of the increased size of the larger drive). gparted correctly identified the additional space and resized the GPT, but my first operation -- moving the last partition, an NTFS rescue partition of 12Mb, to the end of the disk -- failed. Upon investigation with strace, this was due to the fact that the device file for /dev/sda5 did not exist. From what I can tell, gparted identifies partitions separately from the device files that exist in /dev (which is good) but then expects them to be present when issuing commands like ntfsresize (which is bad). I would propose the following moficiation: at the start of a series of operations, check to determine if the device files for the partitions exist. If they don't, then issue a partprobe to find them. If they still do not exist, fail with an appropriate error message. (Ideally, the partprobe should be part of the queued command list which appears in the "applying pending operations" dialog.) For now, the obvious workaround is to run partprobe manually after using ddrescue or a similar tool to image a disk. The only "problem" is that gparted is clever enough to do some of its work without the device files being present. -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gparted depends on: ii libatkmm-1.6-1 2.22.7-2.1 ii libc6 2.19-13 ii libgcc1 1:4.9.1-19 ii libglib2.0-0 2.42.1-1 ii libglibmm-2.4-1c2a 2.42.0-1 ii libgtk2.0-0 2.24.25-1 ii libgtkmm-2.4-1c2a 1:2.24.4-1.1 ii libpangomm-1.4-1 2.34.0-1.1 ii libparted-fs-resize0 3.2-6 ii libparted2 3.2-6 ii libsigc++-2.0-0c2a 2.4.0-1 ii libstdc++6 4.9.1-19 ii libuuid1 2.25.2-4 gparted recommends no packages. Versions of packages gparted suggests: pn dmraid <none> ii dmsetup 2:1.02.90-2 ii dosfstools 3.0.27-1 pn gpart <none> pn jfsutils <none> pn kpartx <none> ii mtools 4.0.18-2 ii ntfs-3g 1:2014.2.15AR.2-1 pn reiser4progs <none> pn reiserfsprogs <none> pn xfsprogs <none> ii yelp 3.14.1-1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org