findmnt – find all the mounts and their source

If you are looking for the source of a mount and the various options used in the mount, then the quickest way to get that is ::

findmnt

By default, with no parameters, it lists all the mounts in a tree like view and all the options used to mount the path. It also lists the source of the mount.

By default again, it uses some capabilities of the terminal to show the tree which you can disable with the option “-a”.

You can check the man page for more information on this command, it has some pretty good examples as well.

And just in case, you are unable to find the package (util-linux) containing the command:

sudo yum install util-linux
 
Enhanced by Zemanta

One thought on “findmnt – find all the mounts and their source”

  1. I have been surfing on-line more than 3 hours nowadays, yet I never found any interesting article like yours.
    It’s beautiful price enough for me. Personally, if all website owners and bloggers
    made just right content material as you did, the net can be much more helpful than ever before.

Leave a Reply