Removes a CIFS mount from the /etc/filesystems file and unmounts the entry if it is mounted.
The rmcifsmnt command removes a CIFS entry from /etc/filesystems. If the entry is mounted, the rmcifsmnt command then unmounts it.
| Item | Description |
|---|---|
| -B | Removes the corresponding entry from the /etc/filesystems file, and unmounts the file system. This is the default. |
| -f MountPoint | Specifies the path name of the CIFS mount. |
| -N | Unmounts the file system, but does not remove the entry from the /etc/filesystems file. |
| Item | Description |
|---|---|
| 0 | The command completed successfully. |
| >0 | An error occurred. |
rmcifsmnt -f /mnt
/usr/sbin/rmcifsmnt
| Item | Description |
|---|---|
| /etc/filesystems | Stores the CIFS entry. |