[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130902101042.GB30710@x2.net.home>
Date: Mon, 2 Sep 2013 12:10:42 +0200
From: Karel Zak <kzak@...hat.com>
To: Davidlohr Bueso <davidlohr@...com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Jens Axboe <axboe@...nel.dk>,
Matt Domsch <Matt_Domsch@...l.com>, Jim Hull <jim.hull@...com>,
Peter Jones <pjones@...hat.com>,
Chegu Vinod <chegu_vinod@...com>,
Aswin Chandramouleeswaran <aswin@...com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/8] partitions/efi: use lba-aware partition records
On Mon, Aug 05, 2013 at 10:21:09PM -0700, Davidlohr Bueso wrote:
>
> +typedef struct _gpt_record {
> + u8 boot_indicator; /* unused by EFI, set to 0x80 for bootable */
> + u8 start_head; /* unused by EFI, pt start in CHS */
> + u8 start_sector; /* unused by EFI, pt start in CHS */
> + u8 start_track;
> + u8 os_type; /* EFI and legacy non-EFI OS types */
> + u8 end_head; /* unused by EFI, pt end in CHS */
> + u8 end_sector; /* unused by EFI, pt end in CHS */
> + u8 end_track; /* unused by EFI, pt end in CHS */
> + __le32 starting_lba; /* used by EFI - start addr of the on disk pt */
> + __le32 size_in_lba; /* used by EFI - size of pt in LBA */
> +} __attribute__ ((packed)) gpt_record;
> +
Maybe it would be better to rename this struct to "gpt_mbr_record" to
make it more obvious.
Karel
--
Karel Zak <kzak@...hat.com>
http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists