I have several USB ports on the front of my computer, and when I insert a thumb drive into one of them, it gets mounted temporarily in /media. I can navigate to its mount point directory in /media and treat it like any other directory, but for what I am trying to do, I need the thumb drive's /dev/___ name. How can I obtain this?
If its mounted to /media, the easiest trick is to just say
it will give you the /dev fs its mounted on
For more details you could do, (saving output to a file)
and, look for the "