[parted-devel] Feature requests

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Mon Nov 20 19:42:20 CET 2006


Forgot to CC it to the list. So here it is.

---------- Forwarded message ----------
From: Debarshi 'Rishi' Ray <debarshi.ray at gmail.com>
Date: 20-Nov-2006 18:39
Subject: Re: [parted-devel] Feature requests
To: "leslie.polzer at gmx.net" <leslie.polzer at gmx.net>


>>  a user has a 500MB partition, and without knowing how small
>> the partition can be, they specify something like "resize 1 0MB 1MB".
>> Naturally parted determines a value that is more realistic than 1MB,
>> and takes action without telling the user what it found.

> Do you feel that the fuzzy value is too high?
> Or should parted probably inform the user in any case?
> Or maybe make it adjustable?

In my understanding if the size of a partition is X MB and Y MB of it
is filled, then Parted can only reduce it to Y MB, not less than that.
In that case I would prefer that Parted simply tell the user that the
limit is Y MB, in case a something lower than that was specified, and
let the user decide whether he would like to continue or not. The user
can either go ahead, or not go ahead and execute 'resize' with a
different value.

> > In addition to having a disclosure of what actual boundary parted
> > uses, it would also be useful to inhibit parted from acting on the
> > information.

> Same thing as above.  When the difference is too much, you will be
> asked.

Lets leave it completely to the user, if possible. Sometimes a
seemingly negligible difference might not suit the purpose of the
user.

>  We're on the way of outsourcing as much file system
> code as possible to external tools for 2.0,

Are we going to directly invoke the external tools using something
like 'system', or we going to use some sort of library or API?

Happy hacking,
Debarshi

-- 
I only work when I am not doing any assignments.



More information about the parted-devel mailing list