Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

showmount only list me NFS mounts. I also want such a list for samba shares. How can this be done?

share|improve this question
up vote 3 down vote accepted

The answer should be a simple mount -t <fs_type>:

mount -t cifs

You will have the exact list of mounted smb filesystem (that is cifs type).

This option is available at least on Linux and FreeBSD.

share|improve this answer

mount will show you all the mounts on your system, including smb mounts. You can easily find them just by looking at the list, but if you want to see only smb mounts, you can try something like:

mount -v | grep -i 'type smb'

or, if they are CIFS mounts not smbfs:

mount -v | grep -i 'type cifs'
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.