M
diskutil list
-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 Thomimac 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 *2.0 TB disk20
1: EFI EFI 209.7 MB disk20s1
2: Apple_HFS Thomas 5 2.0 TB disk20s2
-bash-3.2#
diskutil eraseVolume jhfs+ Thomimac disk0s2
-bash-3.2# diskutil eraseVolume jhfs+ Thomimac disk0s2
Started erase on disk0s2 Thomimac
Unmounting disk
Erasing
Initialized /dev/rdisk0s2 as a 931 GB case-insensitive HFS Plus volume with a 81920k journal
Mounting disk
Finished erase on disk0s2 Thomimac
-bash-3.2#
diskutil info /Volumes/Thomimac
ls /Volumes/Thomimac
bless --info /Volumes/Thomimac
-bash-3.2# diskutil info /Volumes/Thomimac
Device Identifier: disk2s1
Device Node: /dev/disk2s1
Whole: No
Part of Whole: disk2
Volume Name: Thomimac
Mounted: Yes
Mount Point: /Volumes/Thomimac
Partition Type: 41504653-0000-11AA-AA11-00306543ECAC
File System Personality: APFS
Type (Bundle): apfs
Name (User Visible): APFS
Owners: Enabled
OS Can Be Installed: Yes
Booter Disk: disk2s2
Recovery Disk: disk2s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: 282C4354-B96F-3E04-8B49-B5B5E4DBFC5C
Disk / Partition UUID: 282C4354-B96F-3E04-8B49-B5B5E4DBFC5C
Disk Size: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Device Block Size: 4096 Bytes
Volume Total Space: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Volume Used Space: 610.2 GB (610169749504 Bytes) (exactly 1191737792 512-Byte-Units) (61.1%)
Volume Free Space: 389.2 GB (389175377920 Bytes) (exactly 760108160 512-Byte-Units) (38.9%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: Internal
Removable Media: Fixed
Solid State: No
Hardware AES Support: No
-bash-3.2# ls /Volumes/Thomimac
(null) Volumes
.DS_Store bin
.DocumentRevisions-V100 cores
.HFS+ Private Directory Data? dev
.OSInstallerMessages etc
.PKInstallSandboxManager-SystemSoftware home
.Spotlight-V100 installer.failurerequests
.file macOS Install Data
.fseventsd net
.vol private
Applications sbin
Library tmp
Network usr
System var
Users
-bash-3.2# bless --info /Volumes/Thomimac
12884901980 => Blessed System File is <Preboot>/282C4354-B96F-3E04-8B49-B5B5E4DBFC5C/System/Library/CoreServices/boot.efi
753275 => Blessed System Folder is <Preboot>/282C4354-B96F-3E04-8B49-B5B5E4DBFC5C/System/Library/CoreServices
The blessed volume in this APFS container is "/Volumes/Thomimac".
-bash-3.2#
-bash-3.2# diskutil info /Volumes/Thomimac
Device Identifier: disk2s1
Device Node: /dev/disk2s1
Whole: No
Part of Whole: disk2
Volume Name: Thomimac
Mounted: Yes
Mount Point: /Volumes/Thomimac
Partition Type: 41504653-0000-11AA-AA11-00306543ECAC
File System Personality: APFS
Type (Bundle): apfs
Name (User Visible): APFS
Owners: Enabled
OS Can Be Installed: Yes
Booter Disk: disk2s2
Recovery Disk: disk2s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: 282C4354-B96F-3E04-8B49-B5B5E4DBFC5C
Disk / Partition UUID: 282C4354-B96F-3E04-8B49-B5B5E4DBFC5C
Disk Size: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Device Block Size: 4096 Bytes
Volume Total Space: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Volume Used Space: 610.2 GB (610169749504 Bytes) (exactly 1191737792 512-Byte-Units) (61.1%)
Volume Free Space: 389.2 GB (389175377920 Bytes) (exactly 760108160 512-Byte-Units) (38.9%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: Internal
Removable Media: Fixed
Solid State: No
Hardware AES Support: No
-bash-3.2#
-bash-3.2# ls /Volumes/Thomimac
(null) Volumes
.DS_Store bin
.DocumentRevisions-V100 cores
.HFS+ Private Directory Data? dev
.OSInstallerMessages etc
.PKInstallSandboxManager-SystemSoftware home
.Spotlight-V100 installer.failurerequests
.file macOS Install Data
.fseventsd net
.vol private
Applications sbin
Library tmp
Network usr
System var
Users
-bash-3.2#