[Top][All Lists]

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

Re: [wishlist] end of disk parameter

From: Ryan Lovett
Subject: Re: [wishlist] end of disk parameter
Date: Sat, 28 Jun 2003 23:19:51 -0700
User-agent: Mutt/1.5.4i

On Sun, Jun 29, 2003 at 03:16:45PM +0000, Andrew Clausen wrote:
> On Tue, Jun 10, 2003 at 12:44:53PM -0700, Ryan Lovett wrote:
> > Thanks! It worked fine. With something to grep for I found it in 'Using
> > GNU Parted' in the info page. Perhaps it could be put in the session command
> > descriptions as well and/or the command help info within parted?
> I just implemented this.  Thanks.
> (parted) help resize
>   resize MINOR START END        resize filesystem on partition MINOR
>         MINOR is the partition number used by Linux.  On msdos disk labels, 
> the
>         primary partitions number from 1-4, and logical partitions are 5
>         onwards.
>         START and END are in megabytes.  Negative values count from the end of
>         the disk.

Sounds fine.

> Is that what you meant?  Did you have any other ideas?

Perhaps when END is prefixed with '+' the value could indicate the size of the
partition rather than the end boundary, e.g.

  resize 2 500 +2000

would mean a 2 GB partition starting @ 500 MB ? It would be a nice feature, but
the semantics of '-' and '+' wouldn't be consistent. Maybe there's a better
way. fdisk's semantics are N is boundary and +N is size with no option to
specify the boundary from the end.

Anyways, thanks for your attention,

reply via email to

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