-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS OS X Base System 2.0 GB disk1s1
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk19
-bash-3.2#
diskutil info disk0s2
-bash-3.2# diskutil info disk0s2
Device Identifier: disk0s2
Device Node: /dev/disk0s2
Whole: No
Part of Whole: disk0
Volume Name: Macintosh HD
Mounted: Yes
Mount Point: /Volumes/Macintosh HD
Partition Type: Apple_HFS
File System Personality: HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended
Owners: Enabled
OS Can Be Installed: No
Booter Disk: disk0s3
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: F817F5C1-8516-3AA3-AB1B-1164A8DE1CBF
Disk / Partition UUID: B3C6D624-0F48-4234-AFFA-A81B2A57E8C3
Partition Offset: 209735680 Bytes (409640 512-Byte-Device-Blocks)
Disk Size: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Device Block Size: 512 Bytes
Volume Total Space: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Volume Used Space: 630.6 GB (630567989248 Bytes) (exactly 1231578104 512-Byte-Units) (63.1%)
Volume Free Space: 368.8 GB (368777138176 Bytes) (exactly 720267848 512-Byte-Units) (36.9%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: Yes
Device Location: Internal
Removable Media: Fixed
Solid State: No
Hardware AES Support: No
-bash-3.2#
Read-Only Volume: Yes
diskutil list
df -H
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS OS X Base System 2.0 GB disk1s1
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk19
/dev/disk20 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 TB disk20
1: Microsoft Reserved 134.2 MB disk20s1
2: Microsoft Basic Data Maxtor 4.0 TB disk20s2
-bash-3.2#
-bash-3.2# df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 2.0G 1.3G 718M 64% 45155 4294922124 0% /
devfs 206k 206k 0B 100% 696 0 100% /dev
/dev/disk2 5.2M 3.3M 1.9M 64% 23 4294967256 0% /private/var/log
/dev/disk3 524k 147k 377k 29% 6 4294967273 0% /Volumes
/dev/disk4 524k 147k 377k 29% 7 4294967272 0% /private/var/tmp
/dev/disk5 524k 160k 365k 31% 12 4294967267 0% /private/var/run
/dev/disk6 2.1M 143k 2.0M 7% 2 4294967277 0% /private/tmp
/dev/disk7 524k 147k 377k 29% 3 4294967276 0% /System/Installation
/dev/disk8 524k 307k 217k 59% 22 4294967257 0% /private/var/db
/dev/disk9 13M 7.2M 5.3M 58% 84 4294967195 0% /private/var/folders
/dev/disk10 4.2M 4.0M 209k 96% 372 4294966907 0% /private/var/root/Library
/dev/disk12 2.1M 143k 2.0M 7% 2 4294967277 0% /private/var/root/Library/Containers
/dev/disk13 524k 188k 336k 36% 11 4294967268 0% /Library/Preferences
/dev/disk14 524k 168k 356k 33% 6 4294967273 0% /Library/Preferences/SystemConfiguration
/dev/disk15 1.0M 180k 868k 18% 6 4294967273 0% /Library/Keychains
/dev/disk16 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/RecoveryTemp
/dev/disk17 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/OSISPredicateUpdateProductTemp
/dev/disk18 524k 143k 381k 28% 2 4294967277 0% /private/var/tmp/InstallerCookies
/dev/disk19 2.1M 209k 1.9M 10% 3 4294967276 0% /Library/Logs/DiagnosticReports
/dev/disk0s3 650M 540M 103M 84% 21 4294967258 0% /Volumes/Image Volume
/dev/disk0s2 999G 631G 369G 64% 1721712 4293245567 0% /Volumes/Macintosh HD
/dev/disk20s2 4.0T 232M 4.0T 1% 34 3906659610 0% /Volumes/Maxtor
-bash-3.2#
diskutil eraseDisk jhfs+ Clone gpt disk20
-bash-3.2# diskutil eraseDisk jhfs+ Clone gpt disk20
Started erase on disk20
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk20s2 as Mac OS Extended (Journaled) with name Clone
Initialized /dev/rdisk20s2 as a 4 TB case-insensitive HFS Plus volume with a 311296k journal
Mounting disk
Finished erase on disk20
-bash-3.2#