[parted-devel] DISCUSS: Script-friendly interface

leslie.polzer at gmx.net leslie.polzer at gmx.net
Thu Jun 22 14:29:33 UTC 2006


On Thu, Jun 22, 2006 at 02:11:26PM +0200, Albert ARIBAUD wrote:

> leslie.polzer at gmx.net wrote:
>
> >Why is this better than, say, a command-line switch?
>
> Maybe something akin to what is done in the 'find' command with the
> -*print* switches?
What I propose is something like that:

    % parted -m /dev/hda print

  where '-m' means machine-friendly output, e.g.

    1:32k:5.6G:5.6G:ext2:BOOT,LBA

  Leslie
  

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289
http://nic-nac-project.de/~skypher/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20060622/e6fd727d/attachment.pgp


More information about the parted-devel mailing list