diff options
author | marcel <marcel@FreeBSD.org> | 2002-11-13 05:31:32 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-11-13 05:31:32 +0000 |
commit | 51b18a9ea395df565a980577302fe8bc0f24ab8c (patch) | |
tree | ee6942ad420714dec4b1571b97c3b4e4947eec79 /lib/libdisk/disk.c | |
parent | 1b75e8e7ed0d07a66e774770e7449ec4f4ea08ea (diff) | |
download | FreeBSD-src-51b18a9ea395df565a980577302fe8bc0f24ab8c.zip FreeBSD-src-51b18a9ea395df565a980577302fe8bc0f24ab8c.tar.gz |
Handle EFI partitions the same as regular FAT partitions. The only
difference between the two from a low-level point of view is that
the partition type is different. This change adds EFI related cases
to existing switch statements with existing FAT related cases.
Diffstat (limited to 'lib/libdisk/disk.c')
-rw-r--r-- | lib/libdisk/disk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c index d2dcafd..ee917be 100644 --- a/lib/libdisk/disk.c +++ b/lib/libdisk/disk.c @@ -278,6 +278,9 @@ Int_Open_Disk(const char *name) case 0x0e: i = Add_Chunk(d, off, len, n, fat, ty, 0, 0); break; + case 0xef: /* EFI */ + i = Add_Chunk(d, off, len, n, efi, ty, 0, 0); + break; default: i = Add_Chunk(d, off, len, n, mbr, ty, 0, 0); break; |