Make format work with whole disk devices (#743181)
Formatting a whole disk device fails on the set partition type step with libparted error "unrecognised disk label". This is because the previous step just cleared the old file system signatures leaving libparted with nothing to recognise. Therefore libparted doesn't present a virtual "loop" partition table. As there is no partition table, there's no partition and no partition type. Just skip setting the partition type on whole disk devices. Bug 743181 - Add unpartitioned drive read-write support
parent
dc4e6913
Please register or sign in to comment