To successfully unmount a CIFS share, you must own the mount point on which the share is mounted.
# *Determine the mount point of the share that you want to unmount.*
Use one of the following commands to find shares that are mounted from a CIFS server:
#* Use the {{mount}} command.
{code}
$ 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
{code}
#* Use the {{df \-k \-F smbfs}} command.
{code}
$ df -k -F smbfs
//root@solarsystem/tmp 1871312 70864 1800448 4% /mnt
//root@solarsystem/files 8067749 8017 7979055 1% /files
{code}
# *Unmount the share.*
Specify the name of the mount point, {{/mnt}} or {{/files}} in this example.
{code}
$ umount /mnt
{code}
{include:bottom_navigation}
# *Determine the mount point of the share that you want to unmount.*
Use one of the following commands to find shares that are mounted from a CIFS server:
#* Use the {{mount}} command.
{code}
$ 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
{code}
#* Use the {{df \-k \-F smbfs}} command.
{code}
$ df -k -F smbfs
//root@solarsystem/tmp 1871312 70864 1800448 4% /mnt
//root@solarsystem/files 8067749 8017 7979055 1% /files
{code}
# *Unmount the share.*
Specify the name of the mount point, {{/mnt}} or {{/files}} in this example.
{code}
$ umount /mnt
{code}
{include:bottom_navigation}