How to View the List of Mounted CIFS Shares

This procedure shows how to list all of the CIFS shares that are mounted on your system. The resulting list includes your mounts, other users' mounts, and multiuser mounts that are created by the system administrator.

  1. List all mounted CIFS shares by using one of the following commands:
    • Use the mount command.
      $ mount -v | grep 'type smbfs'
      //root@solarsystem/tmp on /mnt type smbfs
        read/write/setuid/devices/dev=5080000 on Tue Feb 12 11:40:18 2008
      //root@solarsystem/files on /files type smbfs
        read/write/setuid/devices/dev=4800000 on Mon Feb 11 22:17:56 2008
      

      Note that the mount command output includes information about the mount options specified at mount time.

    • Use the df -k -F smbfs command.
      $ df -k -F smbfs
      //root@solarsystem/tmp      1871312   70864 1800448     4%    /mnt
      //root@solarsystem/files    8067749    8017 7979055     1%    /files
      

For more information:

Labels

osoladmin osoladmin Delete
task task Delete
filesystem filesystem Delete
cifs cifs Delete
accessing accessing Delete
smallsiteadmin smallsiteadmin Delete
sundoc sundoc Delete
singleadmin singleadmin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Feb 05, 2009

    Alysson_Troffer says:

    I'd suggest removing the number '1' because it seems a bit odd to have a numeral...

    I'd suggest removing the number '1' because it seems a bit odd to have a numeral in a single-step procedure.

    Alysson

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact