[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parted: Size column in "parted print" desired
From: |
Andrew Clausen |
Subject: |
Re: parted: Size column in "parted print" desired |
Date: |
Wed, 10 Apr 2002 13:59:46 +1000 |
User-agent: |
Mutt/1.3.28i |
On Tue, Apr 09, 2002 at 09:50:16PM -0600, Andreas Dilger wrote:
> 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/
I couldn't find any code there.
> > * 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.
Yep. I'm not sure what the solution is to this problem...
Andrew