Last login: Sun Jun 17 14:53:37 on ttys000
localhost:~ macunibody$ diskutil resizeVolume disk0s2 49g jhfs+ "Mac HDD 2" 0b
Started partitioning on disk0s2 Mac HDD
Verifying the disk
Checking file system
Performing live verification
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
Resizing
Waiting for the disks to reappear
Formatting disk0s4 as Mac OS Extended (Journaled) with name Mac HDD 2
Initialized /dev/rdisk0s4 as a 252 GB HFS Plus volume with a 24576k journal
Mounting disk
Finished partitioning on disk0s2 Mac HDD
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Mac HDD 49.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s5
4: Apple_HFS Mac HDD 2 270.1 GB disk0s4
localhost:~ macunibody$