acquire-project / acquire-common

Core libraries, runtime, and common devices driver for Acquire
Apache License 2.0
0 stars 8 forks source link

Select Trash as storage device by default #17

Open nclack opened 1 year ago

nclack commented 1 year ago

In storage_validate() passing a device identifier with DeviceKind_None fails validation.

However, there's a reasonable default here - select the Trash device.

aliddell commented 1 year ago

It seems pretty reasonable that storage_validate fail if you pass it a non-Storage device, but it does raise the question of why there's a DeviceKind_None in the first place.