Here is are my working scripts.
1. Get the UUIDs, current mount points, mount options of the connected USB devices:
# more /etc/mtab
rootfs / rootfs rw 0 0
..............................
/dev/sda1 /tmp/mnt/sda1 ext2 rw,nodev,noatime 0 0
/dev/sdc1 /tmp/mnt/samsungp ufsd...