[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU parted documentation
From: |
Chris Murphy |
Subject: |
Re: GNU parted documentation |
Date: |
Wed, 30 Jan 2013 11:35:29 -0700 |
On Jan 30, 2013, at 1:58 AM, Tommaso Cereghetti <address@hidden> wrote:
> Hello
>
> I'm referring me to your GNU parted documentation, paragraph Set
> http://www.gnu.org/software/parted/manual/parted.html#set
>
> I do not understand the goal of defining these flags. Is it just informative?
>
> I have 3 hard drivers, every one with two partitions 1) ext4 /for /boot) 2)
> raid and everything works fine.
The flags affect different things depending on the flag and the partition
scheme used. For example the 'boot' flag on an MBR disk sets the status field
byte for a partition from inactive/invalid to active, or "enabling the boot
flag" in vernacular; whereas on a GPT disk, this same flag changes the
partition type GUID field for a partition to
C12A7328-F81F-11D2-BA4B-00A0C93EC93B, which is the code for "EFI System
partition".
'raid' on MBR sets the partition type code to FDh. 'lvm' sets it to 8Eh.
So the flags are parted flags. They are not necessarily partition scheme flags.
Chris Murphy