bug-parted
[Top][All Lists]
Advanced

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

Re: [PATCH] Enhancements to parted's partition table printing


From: Sven Luther
Subject: Re: [PATCH] Enhancements to parted's partition table printing
Date: Tue, 22 Nov 2005 22:53:54 +0100
User-agent: Mutt/1.5.9i

On Tue, Nov 22, 2005 at 08:46:22PM +0000, Colin Watson wrote:
> At present, the 'parted' command-line tool is really more useful for
> interactive use than anything else. The particular deficiency that's
> biting me is that there's no really good way to use it to dump out a
> list of all the partitions on the system and their properties in a way
> that can be read by scripts such as those in the Debian installer. While
> it's certainly possible to write small programs using libparted that do
> what we need (and indeed we already have a couple of those), these then
> require their own packaging in the installer, live CDs, and suchlike,
> and I've been thinking recently that it might be better to take the
> small step required to make the parted program usable for this purpose.

Nice patch, but i still think that there is no guarantee that future versions
of parted will not breka this batch-abi or whatever you call it, and it is
still recomended to use the actual libparted that way.

You could even imagine writing your own libparted based wrapper to output the
values you want in the format you most like, and then you would need to
package it only once, and need to modify it only once if the abi changes or
something, instead of all over the place like it is done right now.

Friendly,

Sven Luther





reply via email to

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