Tuesday, September 27, 2011

檢查MacOSX的partition layout

MacOSX沒有fdisk的指令,但是還是有類似的指令的,其指令如下:
# diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *160.0 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh 60.2 GB disk0s2
3: Apple_HFS Data 99.4 GB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: *8.0 GB disk1
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Garmin-Asus *3.3 GB disk2

話說diskutil還真是MacOSX下的好工具呀!

No comments: