Monthly Archives: August 2008

Mount a Windows share

Windows Shared folders can be read in Linux using Samba. Recently Samba was replaced with CIFS and can be mounted using mount. To mount a Windows Share folder in a local directory in Linux:

  1. mount -t cifs \\\\IP\\SHARE LOCAL_DIR -o user=user

It will ask for the password.

If the share requires a domain, just add the domain:

  1. mount -t cifs \\\\IP\\SHARE LOCAL_DIR -o user=user domain=DOMAIN_NAME

To disconnect, just use umount:

  1. umount LOCAL_DIR