following this advice
http://parted.alioth.debian.org/cgi-bin/trac.cgi/ticket/195
exclude md devices from the block list wich have a partition

md devices will no more be reported by 'print devices'
before
parted /dev/hda print devices
/dev/hda (2625MB)
/dev/hdc (6488MB)
/dev/md0 (805MB)
/dev/md1 (1818MB)

after
parted /dev/hda print devices
/dev/hda (2625MB)
/dev/hdc (6488MB)

this does not change the behavior with
parted /dev/md0 print
Error: Can't have a partition outside the disk!

tested on 1.8.8, change was only reported on git sources

Gilles

Attachment: parted-git_no-md-partition.patch
Description: Binary data

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to