#!/usr/bin/env bash function emit (){ echo "$@" sleep 1 } emit "***Begin monitoring DiskArbitration activity" emit "***DiskAppeared ('disk4', DAVolumePath = 'file:///Volumes/my%20backups/', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Time=20220108-20:22:05.1438" emit "***DiskAppeared ('disk3s2', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:05.1453" emit "***DiskAppeared ('disk3s1', DAVolumePath = '', DAVolumeKind = 'msdos', DAVolumeName = 'EFI') Time=20220108-20:22:05.1454" emit "***DiskAppeared ('disk3s3', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Boot OS X') Time=20220108-20:22:05.1455" emit "***DiskAppeared ('disk3', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:05.1456" emit "***DiskAppeared ((no BSD name), DAVolumePath = 'file:///System/Volumes/Data/home/', DAVolumeKind = 'autofs', DAVolumeName = '') Time=20220108-20:22:05.1457" emit "***DiskAppeared ('disk2s1', DAVolumePath = 'file:///Volumes/garuda-ext/', DAVolumeKind = 'hfs', DAVolumeName = 'garuda-ext') Time=20220108-20:22:05.1458" emit "***DiskAppeared ('disk2', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:05.1459" emit "***DiskAppeared ('disk0', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:05.1460" emit "***DiskAppeared ('disk0s1', DAVolumePath = '', DAVolumeKind = 'msdos', DAVolumeName = 'EFI') Time=20220108-20:22:05.1461" emit "***DiskAppeared ('disk0s2', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:05.1462" emit "***DiskAppeared ('disk1', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:05.1463" emit "***DiskAppeared ('disk1s1', DAVolumePath = 'file:///System/Volumes/Data/', DAVolumeKind = 'apfs', DAVolumeName = 'maindisk - Data') Time=20220108-20:22:05.1464" emit "***DiskAppeared ('disk1s2', DAVolumePath = '', DAVolumeKind = 'apfs', DAVolumeName = 'Preboot') Time=20220108-20:22:05.1465" emit "***DiskAppeared ('disk1s3', DAVolumePath = 'file:///Volumes/Recovery/', DAVolumeKind = 'apfs', DAVolumeName = 'Recovery') Time=20220108-20:22:05.1466" emit "***DiskAppeared ('disk1s4', DAVolumePath = 'file:///private/var/vm/', DAVolumeKind = 'apfs', DAVolumeName = 'VM') Time=20220108-20:22:05.1467" emit "***DiskAppeared ('disk1s5', DAVolumePath = 'file:///', DAVolumeKind = 'apfs', DAVolumeName = 'maindisk') Time=20220108-20:22:05.1469" emit "***DAIdle (no DADiskRef) Time=20220108-20:22:05.1470" emit "***DiskUnmountApproval ('disk4', DAVolumePath = 'file:///Volumes/my%20backups/', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Comment=Approving Time=20220108-20:22:09.9084" emit "***DiskUnmountApproval ('disk4', DAVolumePath = 'file:///Volumes/my%20backups/', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Comment=Approving Time=20220108-20:22:21.1909" emit "***DiskDescriptionChanged ('disk4', DAVolumePath = '') Time=20220108-20:22:21.5683" emit "***DAIdle (no DADiskRef) Time=20220108-20:22:21.5684" emit "***DiskDisappeared ('disk3', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:29.6767" emit "***DiskDisappeared ('disk4', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Time=20220108-20:22:29.6768" emit "***DiskDisappeared ('disk3s3', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Boot OS X') Time=20220108-20:22:29.6770" emit "***DiskDisappeared ('disk3s2', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:29.6772" emit "***DiskDisappeared ('disk3s1', DAVolumePath = '', DAVolumeKind = 'msdos', DAVolumeName = 'EFI') Time=20220108-20:22:29.6773" emit "***DAIdle (no DADiskRef) Time=20220108-20:22:29.6774" emit "***DiskPeek ('disk3s1') Time=20220108-20:22:35.8607" emit "***DiskAppeared ('disk3s1', DAVolumePath = '', DAVolumeKind = 'msdos', DAVolumeName = 'EFI') Time=20220108-20:22:35.8673" emit "***DiskMountApproval ('disk3s1', DAVolumePath = '', DAVolumeKind = 'msdos', DAVolumeName = 'EFI') Comment=Approving Time=20220108-20:22:35.8686" emit "***DiskPeek ('disk3s3') Time=20220108-20:22:36.0009" emit "***DiskPeek ('disk3s2') Time=20220108-20:22:36.0011" emit "***DiskPeek ('disk3') Time=20220108-20:22:36.0014" emit "***DiskAppeared ('disk3s3', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Boot OS X') Time=20220108-20:22:36.0040" emit "***DiskMountApproval ('disk3s3', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Boot OS X') Comment=Approving Time=20220108-20:22:36.0065" emit "***DiskAppeared ('disk3s2', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:36.0116" emit "***DiskAppeared ('disk3', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:22:36.0118" emit "***DAIdle (no DADiskRef) Time=20220108-20:22:36.0119" emit "***DiskPeek ('disk4') Time=20220108-20:22:37.5920" emit "***DiskAppeared ('disk4', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Time=20220108-20:22:37.5980" emit "***DiskMountApproval ('disk4', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Comment=Approving Time=20220108-20:22:37.5985" emit "***DiskDescriptionChanged ('disk4', DAVolumePath = 'file:///Volumes/my%20backups/') Time=20220108-20:22:41.5508" emit "***DAIdle (no DADiskRef) Time=20220108-20:22:41.5509" emit "***DiskUnmountApproval ('disk4', DAVolumePath = 'file:///Volumes/my%20backups/', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Comment=Approving Time=20220108-20:22:58.3459" emit "***DiskUnmountApproval ('disk4', DAVolumePath = 'file:///Volumes/my%20backups/', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Comment=Approving Time=20220108-20:23:09.6402" emit "***DiskDescriptionChanged ('disk4', DAVolumePath = '') Time=20220108-20:23:10.0281" emit "***DAIdle (no DADiskRef) Time=20220108-20:23:10.0282" emit "***DiskDisappeared ('disk3', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:26:42.3640" emit "***DiskDisappeared ('disk4', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Time=20220108-20:26:42.3642" emit "***DiskDisappeared ('disk3s3', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Boot OS X') Time=20220108-20:26:42.3643" emit "***DiskDisappeared ('disk3s2', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:26:42.3645" emit "***DiskDisappeared ('disk3s1', DAVolumePath = '', DAVolumeKind = 'msdos', DAVolumeName = 'EFI') Time=20220108-20:26:42.3647" emit "***DAIdle (no DADiskRef) Time=20220108-20:26:42.3647" emit "***DiskPeek ('disk3s1') Time=20220108-20:26:48.0983" emit "***DiskAppeared ('disk3s1', DAVolumePath = '', DAVolumeKind = 'msdos', DAVolumeName = 'EFI') Time=20220108-20:26:48.1052" emit "***DiskMountApproval ('disk3s1', DAVolumePath = '', DAVolumeKind = 'msdos', DAVolumeName = 'EFI') Comment=Approving Time=20220108-20:26:48.1069" emit "***DiskPeek ('disk3s3') Time=20220108-20:26:48.2289" emit "***DiskPeek ('disk3s2') Time=20220108-20:26:48.2291" emit "***DiskPeek ('disk3') Time=20220108-20:26:48.2292" emit "***DiskAppeared ('disk3s3', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Boot OS X') Time=20220108-20:26:48.2317" emit "***DiskMountApproval ('disk3s3', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Boot OS X') Comment=Approving Time=20220108-20:26:48.2345" emit "***DiskAppeared ('disk3s2', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:26:48.2418" emit "***DiskAppeared ('disk3', DAVolumePath = '', DAVolumeKind = '', DAVolumeName = '') Time=20220108-20:26:48.2419" emit "***DAIdle (no DADiskRef) Time=20220108-20:26:48.2420" emit "***DiskPeek ('disk4') Time=20220108-20:26:49.4535" emit "***DiskAppeared ('disk4', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Time=20220108-20:26:49.4590" emit "***DiskMountApproval ('disk4', DAVolumePath = '', DAVolumeKind = 'hfs', DAVolumeName = 'Time Machine Backups') Comment=Approving Time=20220108-20:26:49.4594" emit "***DiskDescriptionChanged ('disk4', DAVolumePath = 'file:///Volumes/my%20backups/') Time=20220108-20:26:52.7814" emit "***DAIdle (no DADiskRef) Time=20220108-20:26:52.7814"