Use a simpler way to decide what devices we could write to on macOS.
authorCarl Hetherington <cth@carlh.net>
Sat, 3 Feb 2024 20:11:46 +0000 (21:11 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 4 Feb 2024 12:21:20 +0000 (13:21 +0100)
commite0860839f664c6269261563d11be0495e756ff06
tree080257c5d9f1568c92542a4de8ee2ada983b9049
parentb1231273ff0fbfd99e3d794f6d7ce5d9beed340b
Use a simpler way to decide what devices we could write to on macOS.

This basically involves the kDADiskDescriptionDeviceInternalKey,
kDADiskDescriptionMediaRemovableKey and kDADiskDescriptionMediaWritableKey
keys revealed by looking in

https://github.com/balena-io-modules/drivelist.git
src/lib/cross.h
src/lib/cross_common.cc
src/lib/cross_osx.cc
test/disk_writer_test.cc