[parted-devel] Printing partition type in --machine output

Phillip Susi phill at thesusis.net
Mon Nov 19 17:11:30 GMT 2018


On 11/16/2018 1:39 PM, Brian C. Lane wrote:
> I wouldn't assume that, it all depends on how it's used and we have no
> way to catalog that.

How it is *designed* to be used I think is what matters here.  It was
intended to be both simple for machine parsing and extensible in a
machine friendly way.  IIRC, it is just an array of fields separated by
a colon, ripe for parsing with awk.  After parsing any existing fields
any new, unrecognized fields should be ignored, which is why we can add
new ones.

Also why would it matter whether it was in 3.3 or 3.4?  If it really
were a breaking change, it should need 4.0.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/parted-devel/attachments/20181119/b11dd6b2/attachment.sig>


More information about the parted-devel mailing list