part.h (55b1c6e7e4a6909004e13c6d2f328f911a8e7b83) part.h (48990fce8e1c5e572a91656a6f1d58dddba8a4a6)
1/*-
2 * Copyright (c) 2012 Andrey V. Elsukov <ae@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31
32struct ptable;
33
34enum ptable_type {
35 PTABLE_NONE,
36 PTABLE_BSD,
37 PTABLE_MBR,
38 PTABLE_GPT,
1/*-
2 * Copyright (c) 2012 Andrey V. Elsukov <ae@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31
32struct ptable;
33
34enum ptable_type {
35 PTABLE_NONE,
36 PTABLE_BSD,
37 PTABLE_MBR,
38 PTABLE_GPT,
39 PTABLE_VTOC8
39 PTABLE_VTOC8,
40 PTABLE_ISO9660
40};
41
42enum partition_type {
43 PART_UNKNOWN,
44 PART_EFI,
45 PART_FREEBSD,
46 PART_FREEBSD_BOOT,
47 PART_FREEBSD_NANDFS,
48 PART_FREEBSD_UFS,
49 PART_FREEBSD_ZFS,
50 PART_FREEBSD_SWAP,
51 PART_FREEBSD_VINUM,
52 PART_LINUX,
53 PART_LINUX_SWAP,
54 PART_DOS,
41};
42
43enum partition_type {
44 PART_UNKNOWN,
45 PART_EFI,
46 PART_FREEBSD,
47 PART_FREEBSD_BOOT,
48 PART_FREEBSD_NANDFS,
49 PART_FREEBSD_UFS,
50 PART_FREEBSD_ZFS,
51 PART_FREEBSD_SWAP,
52 PART_FREEBSD_VINUM,
53 PART_LINUX,
54 PART_LINUX_SWAP,
55 PART_DOS,
56 PART_ISO9660
55};
56
57struct ptable_entry {
58 uint64_t start;
59 uint64_t end;
60 int index;
61 enum partition_type type;
62};

--- 21 unchanged lines hidden ---
57};
58
59struct ptable_entry {
60 uint64_t start;
61 uint64_t end;
62 int index;
63 enum partition_type type;
64};

--- 21 unchanged lines hidden ---