A.3. PartitioningAs we noted in Section 11.1.3, x86-based Macintosh computers do not use the Apple partitioning scheme (also called Apple Partition Map, or APM)they use the GUID Partition Table (GPT) scheme, which is defined by EFI. Specifically, internal drives use GPT, whereas external drives use APM by default. We discussed GPT in Section 4.16.4.4. We also saw an example of working with GPT partitions using the gpt command in Section 11.4.4. We can use gptand other commands such as diskutil and hdiutilto display partitioning-related information about a volume, say, the root volume. Figure A2 shows an example. Figure A2. Using command-line tools to display partitioning-related information
We see in Figure A2 that the disk has two partitions, the second of which (disk0s2) is the root volume. The first partition, which is about 200MB (409600 512-byte blocks) in size, is a FAT32 partition that could be used by EFI as a dedicated on-disk system partition (see Section 4.16.4.4). You can normally mount this partition from Mac OS X. $ mkdir /tmp/efi $ sudo mount_msdos /dev/disk0s1 /tmp/efi kextload: /System/Library/Extensions/msdosfs.kext loaded successfully $ df -k /tmp/efi Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/disk0s1 201609 0 201608 0% /private/tmp/efi |