Patch moved that hunk outside the actual for loop so $partdev was always empty. I didn't notice earlier since I expected the QEMU devices to showup anyway since they're not SCSI. O.k. to apply? -- Guido
--- packages/partman/partman-base/init.d/parted | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/partman/partman-base/init.d/parted b/packages/partman/partman-base/init.d/parted index d30ce1a..ceb4811 100755 --- a/packages/partman/partman-base/init.d/parted +++ b/packages/partman/partman-base/init.d/parted @@ -43,10 +43,6 @@ if [ ! -f /var/run/parted_server.pid ]; then # TODO: How do we signal we couldn't start parted_server properly? exit $RET fi - # Skip devices that are part of a multipathed device - if part_of_multipath $partdev; then - continue - fi rm -rf /var/lib/partman/old_devices if [ -d $DEVICES ]; then @@ -72,6 +68,11 @@ if [ ! -f /var/run/parted_server.pid ]; then fi fi + # Skip devices that are part of a multipathed device + if part_of_multipath $partdev; then + continue + fi + dirname=$(echo $1 | sed 's:/:=:g') dev=$DEVICES/$dirname if [ -d /var/lib/partman/old_devices/$dirname ]; then -- 1.5.4.1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]