"Clarification: how to mount any inserted USB pen drive on /media/thumb."
Sounds like you want to create a custom mount point for your USB thumb drives? If so, This should walk you through the steps. https://linuxconfig.org/howto-mount-usb-drive-in-linux