[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parted "print" output formatting
From: |
Jim Meyering |
Subject: |
Re: parted "print" output formatting |
Date: |
Wed, 11 Jul 2007 21:25:21 +0200 |
Dax Kelson <address@hidden> wrote:
...
>> 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').
>
> Thinking about this more, changing format and requiring a backwards
> compat flag that'll just produce errors in old versions is a bad change.
>
> I would suggest reverting the change in output, and instead add a "-h"
> option to print the human friendly output.
Does using the "unit MB" option give the output you want?
$ parted -s /dev/sdd unit MB print
Model: Generic USB SD Reader (scsi)
Disk /dev/sdd: 999MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 0.00MB 40.0MB 40.0MB primary fat32 lba