Attach external drive based on drive ID - Redux

I’m taking another crack at auto attaching a drive to a target qube, when the drive ID is found.

I’m able to extract device ID, bus #, device #, device name.

How do I take those params and translate them to the qvm-usb attach sys-usb:#-# command?

https://saswat.padhi.me/blog/2021-09_usb-autoattach-in-qubes/

1 Like