[Top][All Lists]

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

Re: parted: Size column in "parted print" desired

From: Andreas Dilger
Subject: Re: parted: Size column in "parted print" desired
Date: Tue, 9 Apr 2002 22:55:56 -0600
User-agent: Mutt/1.3.27i

On Apr 10, 2002  13:59 +1000, Andrew Clausen wrote:
> On Tue, Apr 09, 2002 at 09:50:16PM -0600, Andreas Dilger wrote:
> > Well, the project I worked on for Turbolinux (cockpit-part) is basically
> > a scripting interface to parted.  It is fairly user-unfriendly, but it
> > is good for script input/output handling.  They put the code up on
> > http://sf.net/projects/cockpit-part/
> I couldn't find any code there.

It appears to be only in CVS right now, no releases.
FYI, cockpit-part is to parted as sfdisk is to fdisk - unfriendly
scripting interface.  It has some good properties like fixed column
input/output, it can take its own output as input, and it allows
specifying relative partition sizes (e.g. start-end, +size, +$ (to the
end of the disk/extended partition).  It also has some bad properties
like you can't "edit" a partition table, only re-create it.

In theory, you can "edit" a partition table by dumping the current
layout, editing it, and then feed it back as input.  This is maybe
OK, as long as parted doesn't decide to change your input to align
better with something, but I would recommend actually doing this.

It is a tool mainly for (optionally) gathering disk layouts, and then
formatting other disks to have the same layout.

Cheers, Andreas
Andreas Dilger

reply via email to

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