bug-parted
[Top][All Lists]
Advanced

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

Re: Feature request: Show gaps and partitions sizes


From: ROunofF
Subject: Re: Feature request: Show gaps and partitions sizes
Date: Thu, 29 Apr 2004 12:51:03 -0400
User-agent: Mutt/1.5.5.1+cvs20040105i

On Thu, Apr 29, 2004 at 11:29:28AM +1000, Andrew Clausen wrote:
> On Sat, Apr 17, 2004 at 11:54:47PM +0300, address@hidden wrote:
> > 
> > There would be two things that would make parted more useful.
> > 
> > 1) If the partitions are not consequent, ie. there is free space
> > between them - a gap - , it would be good if the "print" command
> > reported [gap XXX bytes, kilos ...] between them.
> > 
> > Looking at the pure BEG and END values is hard to "see" where the gaps would
> > be and how to make informed partition chnages.
> 
> OK, I'm convinced.  Anyone else have an opinion?

That's sound fair with me... Displaying free space is a good idea so you
can figure out directly how your disk is organised.

> 
> > 2) The "print" listing is desperately missing the total size of the 
> > partition.
> > This would help great deal deciding how to resize or chnage the partitions.
> 
> Can't fit everything!  You can type "print 5" to find the size of
> partition 5, but if you didn't realize that, then 90% of users probably
> won't either.
> 

Woah I didn't figured out that one by myself... Maybe add a message at
the end of print stating: use print # where # is the number of the
partition you want detailed information

> > Examples below. Note, I did not change the values, just added the cases
> > I raised for 1 and 2 to show what I meant.
> 
> I only got one example.
> 
> >                          This field could record the END - START
> >                          |
> > Minor    Start       End     Size  Type      Filesystem  Flags
> > 1          0.031    753.046         primary   ext2        boot
> > 2        753.047  28615.781         extended              lba
> > 5        753.078   4702.851         logical   ext3        
> > [gap 2500k]                     
> > 6       4702.882   8704.335         logical   ext3        
> > 7       8704.367  26711.015         logical   ext3        
> > [gap 5567k]                     
> > 8      28099.015  28615.781         logical   linux-swap  
> 
> [the one example]
> 
> Note: some partition table formats have partition names.  These also
> take up screen space...
> 

Maybe there could be some flag to the print command like print -s would
printed the size. We need to keep the printing easy to read on a normal
console after all it's a console based applications :)

But I really think the gap should show up in the
default listing :

7       8704.367  26711.015         logical   ext3        
F                               26711.0xx       28099.0xx                       
                free space                  
8      28099.015  28615.781         logical   linux-swap  

Or something similair maybe? The F as the partition number attract the
eyes there and make sure ppl see it... If we only listed the Type as
Free some ppl won't see it maybe ?

>
>
> Cheers,
> Andrew
> 
> 
> 
> _______________________________________________
> Bug-parted mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-parted




reply via email to

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