On Sunday, January 25, 2026 5:12:48 AM CET, [email protected] wrote:
# blkid --uuid 2026-01-19-03-28-45-00 /dev/sdc Meaning that the block device with that UUID is connected to the system.
why not just do something like:
dev="$( blkid --uuid "$destination" )"
if [[ $? -eq 0 ]]
then
echo "destination device is connected."
echo "dev=$dev"
else
echo "destination device not connected. Aborting."
fi
am i missing something?
greetings...

