On Sun, Nov 08, 2009 at 04:42:47PM +0100, Jim Meyering wrote: > Robert Millan wrote: > > 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? > > Thanks for volunteering. > > Good timing. > Just two or three days ago, Rich Jones was asking > about setting the partition type to arbitrary values, > though I think he found a reasonable work-around. > > "type" sounds a little too generic. But it does have an advantage... > One alternative is "part-type". > If we go with that (it'd be the second command name starting with "p"), > we may have to be careful to continue to support "p" as an abbreviation > for "print". > > If you do implement this, please use gnulib's xstrtoul to convert > an msdos type string so that inputs may be hexadecimal, octal or decimal. > > I see you have a copyright on file for parted. Good.
I agree with what Jim has said, and I think this is much needed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://et.redhat.com/~rjones/libguestfs/ See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html _______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

