diskutil list
df -H
diskutil list
Last login: Tue Jul 16 18:54:29 on console
macbook-pro-de-thomas:~ thomasmanen$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Machintosh HD 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS My Passport Air 499.7 GB disk1s2
macbook-pro-de-thomas:~ thomasmanen$ df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 499G 483G 16G 97% 117970222 3916520 97% /
devfs 191k 191k 0B 100% 646 0 100% /dev
localhost:/L584i9WnW7eSJSPXCAazZ_ 499G 499G 0B 100% 0 0 100% /Volumes/MobileBackups
map -hosts 0B 0B 0B 100% 0 0 100% /net
map auto_home 0B 0B 0B 100% 0 0 100% /home
/dev/disk1s2 500G 137G 363G 28% 33328999 88675469 27% /Volumes/My Passport Air
macbook-pro-de-thomas:~ thomasmanen$
diskutil resizeVolume disk1s2 491g jhfs+ "Mountain Lion" 0b
macbook-pro-de-thomas:~ thomasmanen$ diskutil resizeVolume disk1s2 491g jhfs+ "Mountain Lion" 0b
Resizing to 491000000000 bytes and adding 1 partition
Started partitioning on disk1s2 My Passport Air
Verifying the disk
Verifying file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume My Passport Air appears to be OK
File system check exit code is 0
Resizing
Waiting for the disks to reappear
Formatting disk1s3 as Mac OS Extended (Journaled) with name Mountain Lion
Initialized /dev/rdisk1s3 as a 8 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk1s2 My Passport Air
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS My Passport Air 491.0 GB disk1s2
3: Apple_HFS Mountain Lion 8.6 GB disk1s3
macbook-pro-de-thomas:~ thomasmanen$
macbook-pro-de-thomas:~ thomasmanen$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Machintosh HD 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS My Passport Air 491.0 GB disk1s2
3: Apple_HFS Mountain Lion 8.6 GB disk1s3
macbook-pro-de-thomas:~ thomasmanen$