[parted-devel] [PATCH] backlist md devices from device list
Gilles Espinasse
g.esp at free.fr
Sat Apr 11 16:56:49 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parted-git_no-md-partition.patch
Type: application/octet-stream
Size: 881 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20090411/c8b20f3e/attachment.obj>
More information about the parted-devel
mailing list