[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

parted "print" output formatting

From: Dax Kelson
Subject: parted "print" output formatting
Date: Wed, 11 Jul 2007 11:50:28 -0600

Andrew & Richard,

With older versions of parted the output of "print" was in megabytes
with no "human friendly" conversions and suffixes like MB or GB.

In house we wrote a script around parted that automatically created a
new logical partition that started 1 megabyte after the last partition.
We use this in a troubleshooting class we teach.

With older parted, I could take the output of "print" (displayed in
megabytes only), add megabytes to it and then use those numbers with

Now I can no longer do that with the new parted print output that has
some numbers in MB and some in GB. I can't even convert from GB to MB
because the GB numbers are displayed with only one decimal place

Please consider reverting the "human friendly" print output change, or
support a option to print (say, -m) that prints only megabyte values
(ala, the historical output style of 'print').

Kind regards,
Dax Kelson
Guru Labs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]