findmnt – find all the mounts and their source
2013-09-16
121 words
1 min read
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
Related Articles:
- 2013/09/10 Find directory/file with inode number
- 2013/08/23 pkgwat -search packages for Fedora.
- 2013/08/20 power save mode for battery in Fedora 19.
- 2013/05/10 Fedora – Ramdisk creation
- 2012/09/17 Ubuntu – Really force remove a package.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.