bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: partition resizing (was: Re: PedUnit API commit)


From: Andrew Clausen
Subject: Re: partition resizing (was: Re: PedUnit API commit)
Date: Fri, 8 Jul 2005 15:59:03 +1000
User-agent: Mutt/1.5.6+20040907i

On Thu, Jul 07, 2005 at 11:00:53PM +0300, Szakacsits Szabolcs wrote:
> >I'm not excited by the idea. Would letting the "check" command set the 
> >partition size to coincide with the detected filesystem's size suffice?
> 
> That sounds misnomer, illogical from resizing point of view. 'Check' 
> suggests fsck, not resizing.

Well, it is an error (or at least strange) to have a filesystem size !=
partition size.  So, I think this it is logical for check to have this
capability.  But I accept that users might find it strange that normal
use of their computer involves repairing something that they
apparently didn't break.

> Here are some scenarios. What would be the most appropriate?
> 
> 1.    resize2fs|resize_reiserfs|resize_reiser4|ntfsresize
>       parted resize

My concern with this is that "resize" takes the new partition dimensions
as parameters.  It could just ignore them, or when reading them in
interactively, it could explain the situation... did you have any
particular UI in mind here?

> 2.      resize2fs|resize_reiserfs|resize_reiser4|ntfsresize
>       parted check
> 
> 3.    resize2fs|resize_reiserfs|resize_reiser4|ntfsresize
>       parted align, adjust or whatever is the most expressive

I think we should avoid cluttering the UI with more commands...

Cheers,
Andrew





reply via email to

[Prev in Thread] Current Thread [Next in Thread]