Started partitioning on disk1s4 Win8
Splitting
Unmounting disk
Waiting for the disks to reappear
Formatting disk1s4 as Mac OS Extended with name ML
Initialized /dev/rdisk1s4 as a 9 GB HFS Plus volume
Mounting disk
Formatting disk1s5 as Mac OS Extended with name Lion
Initialized /dev/rdisk1s5 as a 9 GB HFS Plus volume
Mounting disk
Formatting disk1s6 as Mac OS Extended with name SWAP
Initialized /dev/rdisk1s6 as a 20 GB HFS Plus volume
Mounting disk
Finished partitioning on disk1s4 Win8
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_CoreStorage 208.4 GB disk1s2
3: Apple_Boot Boot OS X 134.2 MB disk1s3
4: Apple_HFS ML 10.0 GB disk1s4
5: Apple_HFS Lion 9.9 GB disk1s5
6: Apple_HFS SWAP 21.1 GB disk1s6
Split a pre-existing partition into multiple partitions. All data on the split
partition will be lost. The first disk parameter is the one to split; the
remaining parameters are as in the diskutil partitionDisk command.
Ownership of the affected disk is required.
Valid sizes are floating-point numbers with a suffix of B(ytes), S(512-byte-
blocks), K(ilobytes), M(egabytes), G(igabytes), T(erabytes), P(etabytes),
or (%)percentage of the total size of the whole disk.
The chosen disk does not support resizing, do you wish to format instead? (y/N)
y
复制代码
Merging partitions into a new partition
Start partition: disk1s4 ML
Finish partition: disk1s6 SWAP
Started partitioning on disk1
Merging partitions
Waiting for the disks to reappear
Formatting disk1s7 as MS-DOS (FAT32) with name WIN8
512 bytes per physical sector
/dev/rdisk1s7: 80730816 sectors in 1261419 FAT32 clusters (32768 bytes/cluster)
bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=407646208 drv=0x80 bsec=80750592 bspf=9855 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished partitioning on disk1
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_CoreStorage 208.4 GB disk1s2
3: Apple_Boot Boot OS X 134.2 MB disk1s3
4: Microsoft Basic Data WIN8 41.3 GB disk1s7
可选用的文件系统格式如下,常用fat32以及jhfs+:
bash-3.2# diskutil listFilesystems
复制代码
Formattable file systems
These file system personalities can be used for erasing and partitioning.
When specifying a personality as a parameter to a verb, case is not considered.
Certain common aliases (also case-insensitive) are listed below as well.
-------------------------------------------------------------------------------
PERSONALITY USER VISIBLE NAME
-------------------------------------------------------------------------------
ExFAT ExFAT
Free Space Free Space
(or) free
MS-DOS MS-DOS (FAT)
MS-DOS FAT12 MS-DOS (FAT12)
MS-DOS FAT16 MS-DOS (FAT16)
MS-DOS FAT32 MS-DOS (FAT32)
(or) fat32
HFS+ Mac OS Extended
Case-sensitive HFS+ Mac OS Extended (Case-sensitive)
(or) hfsx
Case-sensitive Journaled HFS+ Mac OS Extended (Case-sensitive, Journaled)
(or) jhfsx
Journaled HFS+ Mac OS Extended (Journaled)
(or) jhfs+