| 1 | /* |
| 2 | * Copyright (c) 2000-2007 Apple Inc. All rights reserved. |
| 3 | */ |
| 4 | #ifndef _MACHINE_DISKLABEL_H_ |
| 5 | #define _MACHINE_DISKLABEL_H_ |
| 6 | |
| 7 | #include <sys/appleapiopts.h> |
| 8 | |
| 9 | #ifdef __APPLE_API_OBSOLETE |
| 10 | #define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */ |
| 11 | #define LABELOFFSET 0 /* offset of label in sector */ |
| 12 | #define MAXPARTITIONS 8 /* number of partitions */ |
| 13 | #define RAW_PART 2 /* raw partition: xx?c */ |
| 14 | |
| 15 | /* Just a dummy */ |
| 16 | struct cpu_disklabel { |
| 17 | int cd_dummy; /* must have one element. */ |
| 18 | }; |
| 19 | #endif /* __APPLE_API_OBSOLETE */ |
| 20 | |
| 21 | #endif /* _MACHINE_DISKLABEL_H_ */ |
| 22 | |