[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] make parted work with geometries specified in sectors
From: |
Andrew Clausen |
Subject: |
Re: [PATCH] make parted work with geometries specified in sectors |
Date: |
Mon, 19 May 2003 20:46:20 +0000 |
User-agent: |
Mutt/1.5.4i |
On Mon, May 19, 2003 at 11:20:51AM +0200, Balazs Scheidler wrote:
> While trying to use parted noninteractively we stumbled on the problem that
> parted only accepts geometries specified in megabytes. This is a problem as
> the conversion from sectors to MB may lose sectors. (parted writes
> geometries with 3 number precision)
This has been on my TODO list for a while... just there are a few
problems left to solve:
* error messages often include units... these should also be updated.
* could percentages also be specified? I guess % is a context (device)
dependent unit.
So, I think there should be a ped_set_unit() and ped_get_unit() in
libparted also. But, this change is mostly orthogonal to the one you
sent.
Thanks,
Andrew