How can I get mounting path of the usb device that had been plugged in? Something like:
^^^This is the mounting path on my PC of the usb stick.
I've tried to use udev and rusb but I cannot find any method to retrive that info.
If you are on linux
lsblk should work.
If you want to use it in a rust program a crate like mnt might work.
Thanks for the info. Yes, I want to use it in my program. Will check that out.
[Edit] My mistake. It does work. Thank you.