[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parted: Size column in "parted print" desired
From: |
Andreas Dilger |
Subject: |
Re: parted: Size column in "parted print" desired |
Date: |
Tue, 9 Apr 2002 21:50:16 -0600 |
User-agent: |
Mutt/1.3.27i |
On Apr 10, 2002 10:49 +1000, Andrew Clausen wrote:
> Food for thought:
> * what if the user prefers percentages?
> * what if shell scripts want to parse the output?
Well, the project I worked on for Turbolinux (cockpit-part) is basically
a scripting interface to parted. It is fairly user-unfriendly, but it
is good for script input/output handling. They put the code up on
http://sf.net/projects/cockpit-part/
> * users might want to type in the same units as presented.
> It seems a bit "unfair" (read: counter-intuitive) for parted to talk
> to the user in a way that's different from the way the user can talk
> back.
Yes, I always thought fractional MB is a pain, and not totally accurate
because 1024 < 1000, so you have multiple states which map to the same
fraction.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/