Re: [PATCH 1/8] partitions/efi: use lba-aware partition records

2013-09-02 Thread Davidlohr Bueso
On Mon, 2013-09-02 at 12:10 +0200, Karel Zak wrote: > 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

Re: [PATCH 1/8] partitions/efi: use lba-aware partition records

2013-09-02 Thread Karel Zak
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

Re: [PATCH 1/8] partitions/efi: use lba-aware partition records

2013-09-02 Thread Karel Zak
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

Re: [PATCH 1/8] partitions/efi: use lba-aware partition records

2013-09-02 Thread Davidlohr Bueso
On Mon, 2013-09-02 at 12:10 +0200, Karel Zak wrote: 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

[PATCH 1/8] partitions/efi: use lba-aware partition records

2013-08-05 Thread Davidlohr Bueso
The kernel's GPT implementation currently uses the generic 'struct partition' type for dealing with legacy MBR partition records. While this is is useful for disklabels that we designed for CHS addressing, such as msdos, it doesn't adapt well to newer standards that use LBA instead, such as GUID

[PATCH 1/8] partitions/efi: use lba-aware partition records

2013-08-05 Thread Davidlohr Bueso
The kernel's GPT implementation currently uses the generic 'struct partition' type for dealing with legacy MBR partition records. While this is is useful for disklabels that we designed for CHS addressing, such as msdos, it doesn't adapt well to newer standards that use LBA instead, such as GUID