[parted-devel] Interface to set partition type

Robert Millan rmh at aybabtu.com
Sun Nov 8 13:09:55 UTC 2009


On Mon, Oct 19, 2009 at 02:56:08PM +0200, Jim Meyering wrote:
> In the longer term, we'll probably deprecate
> it and instead add an interface to set a partition's type independent
> of mkpart's "type" argument.

I'd like to work on adding that interface.  I propose:

  # GPT
  $ parted /dev/sda type 1 00000000-0000-0000-0000-000000000000

  # MSDOS
  $ parted /dev/sda type 1 00

Is that appropiate?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



More information about the parted-devel mailing list