dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/partitions
Karel Zak 87038c2d5b partitions: read whole sector with EFI GPT header
The size of EFI GPT header is not static, but whole sector is
allocated for the header. The HeaderSize field must be greater
than 92 (= sizeof(struct gpt_header) and must be less than or
equal to the logical block size.

It means we have to read whole sector with the header, because the
header crc32 checksum is calculated according to HeaderSize.

For more details see UEFI standard (version 2.3, May 2009):
  - 5.3.1 GUID Format overview, page 93
  - Table 13. GUID Partition Table Header, page 96

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-11-23 09:29:58 +01:00
..
Kconfig
Makefile
acorn.c
acorn.h
amiga.c
amiga.h
atari.c
atari.h
check.c block: Expose discard granularity 2009-11-10 11:50:21 +01:00
check.h
efi.c partitions: read whole sector with EFI GPT header 2009-11-23 09:29:58 +01:00
efi.h partitions: read whole sector with EFI GPT header 2009-11-23 09:29:58 +01:00
ibm.c block: Do away with the notion of hardsect_size 2009-05-22 23:22:54 +02:00
ibm.h
karma.c
karma.h
ldm.c
ldm.h
mac.c
mac.h
msdos.c block: Do away with the notion of hardsect_size 2009-05-22 23:22:54 +02:00
msdos.h
osf.c
osf.h
sgi.c
sgi.h
sun.c
sun.h
sysv68.c
sysv68.h
ultrix.c
ultrix.h