Kitaab

Where to find mounted devices

ops tip cli linux 2022-03-31 23:23

I'm using devmon to mount my devices, but didn't quite know how to find where it was mounting my devices. I knew it was mounting my devices because they were locked to read-only mode. Of course, linux has an obscure command for this that does only this and so you'll forget it everytime you actually need it.

findmnt

For what it's worth, devmon on NixOS mounts devices to /run/media/<user>/storage/