From: Matt_Domsch@Dell.com
To: linux-ia64@vger.kernel.org
Subject: RE: [Linux-ia64] setting GUIDs
Date: Sat, 10 Aug 2002 02:32:24 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905929@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905928@msgid-missing>
> Is there a userspace command i can use to set the GUID of a
> GPT partition
> under linux? I asked google, but google didn't know, and i didn't see
> it described in the parted man page.
Which GUID? :-)
parted mkpart generates a new GUID for the partition it creates.
parted set flag xxxxx sets the partition type GUID to one of: boot, raid
(for Linux SW RAID), LVM, or basic data (any file system). If you put a
file system or swap on the partition, it gets set to basic data or swap
respectively.
That's it. No other support exists to write your own GUIDs to either field
of the partition, or to the disk_guid. efibootmgr and parted both know how
to parse the table right, so if you need to write your own app you may want
to start there.
Thanks,
Matt
--
Matt Domsch
Sr. Software Engineer, Lead Engineer, Architect
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
#1 US Linux Server provider for 2001 and Q1/2002! (IDC May 2002)
next prev parent reply other threads:[~2002-08-10 2:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-10 2:08 [Linux-ia64] setting GUIDs dann
2002-08-10 2:32 ` Matt_Domsch [this message]
2002-08-10 18:15 ` dann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590701905929@msgid-missing \
--to=matt_domsch@dell.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox