Generate test file:
dd if=/dev/urandom of=file.bin bs=1G count=1 iflag=fullblock
Diskutil info:
diskutil info /
Device Identifier: disk1s1s1
Device Node: /dev/disk1s1s1
Whole: No
Part of Whole: disk1
Volume Name: Macintosh HD
Mounted: Yes
Mount Point: /
Partition Type: 41504653-0000-11AA-AA11-00306543ECAC
File System Personality: APFS
Type (Bundle): apfs
Name (User Visible): APFS
Owners: Enabled
OS Can Be Installed: No
Booter Disk: disk1s3
Recovery Disk: disk1s4
Media Type: Generic
Protocol: PCI-Express
SMART Status: Verified
Volume UUID: 1A35E67E-868D-4A85-A871-51396C6DAF8D
Disk / Partition UUID: 1A35E67E-868D-4A85-A871-51396C6DAF8D
Disk Size: 500.0 GB (499963174912 Bytes) (exactly 976490576 512-Byte-Units)
Device Block Size: 4096 Bytes
Volume Used Space: 11.3 GB (11257729024 Bytes) (exactly 21987752 512-Byte-Units)
Container Total Space: 500.0 GB (499963174912 Bytes) (exactly 976490576 512-Byte-Units)
Container Free Space: 262.1 GB (262061989888 Bytes) (exactly 511839824 512-Byte-Units)
Allocation Block Size: 4096 Bytes
Media OS Use Only: No
Media Read-Only: Yes
Volume Read-Only: Yes (read-only mount flag set)
Device Location: Internal
Removable Media: Fixed
Solid State: Yes
Hardware AES Support: Yes
This disk is an APFS Volume Snapshot. APFS Information:
APFS Snapshot Name: com.apple.os.update-2EBC151F76955312388EBA00F78BEDB2FA623A651A25C29121CE44F6B2E833CE
APFS Snapshot UUID: 1A35E67E-868D-4A85-A871-51396C6DAF8D
APFS Container: disk1
APFS Physical Store: disk0s2
Fusion Drive: No
APFS Volume Group: AFA982FB-C9B6-49C6-B47F-11BA020E26A5
EFI Driver In macOS: 2332140013000000
Encrypted: No
FileVault: Yes
Sealed: Yes
Locked: No
APFS Snapshots are defined upon this APFS Volume. Snapshot list:
Snapshot UUID: 1A35E67E-868D-4A85-A871-51396C6DAF8D
Name: com.apple.os.update-2EBC151F76955312388EBA00F78BEDB2FA623A651A25C29121CE44F6B2E833CE
XID: 1645289