We use autofs at work and I'm having trouble remembering some mount points. With autofs, you can only see currently or recently mounted volumes on a particular machine. How can I see the rest?
You seem to mix up devices and mount points here. If a device is not mounted then it has no mount point associated. A mount point is nothing but a directory when not associated to a storage device.
If you want to list all mount points (that is, all mounted devices), use :
However, if you need a list of storage devices available, use :
fdisk requires root privileges in most cases. If you don't have root privileges, you can list storage devices files beginning with
sd in the
/dev directory : this should give you enough information :
ls -l /dev/sd*
You can also read the
/proc/partitions file :
I see the question is quite old, but the answers did not match, what I understood from it. This is for CentOS7 and probably RHEL.
cat /etc/auto.master. It will show you the defined mountpoints. There are although a couple of files in
/etc/auto.*. These files are included by the
auto.master and contain the subfolders, which will be automounted.