Fstab

Examples for common mount types

Cifs

//server/directory     /path/to/mountpoint    cifs   uid=1000,gid=1000,credentials=/etc/cifspasswd      0   0

with /etc/cifspwasswd:

username=<windows_user>
password=<windows_password_in_cleartext>

Note that password is an optional parameter. Alternatively you can type it manually on every mount. If you do define the password here, you should

chmod 600 /etc/cifspwasswd

Bind mount

/path/to/dir          /path/to/mountpoint    none     bind    0    0