Hi coreplayer2
Speed (USB3 vs USB2) should not be an issue, but you never know. The file system is rooted in RAM and everything is
connected to it (keyboard, terminals, drives, network, you name it). The script issues this command in a loop until a timeout or match:
blkid -lt $dev
$dev contains either LABEL or UUID, depending on which you used.
-l means lookup the the first device with arguments specified by -t
-t <token> find device with a specific token (NAME=value pair)
$dev is the token