How to mount windows shares from linux
To mount windows shares from linux you will need the following:- SMB support in the kernel enabled for older Windows OS versions
- CIFS support in the kernel enabled for new Windows OS versions
- Samba installed (in Debian this is: smbfs samba-common smbclient)
To mount a older windows network share use:
mount -t smbfs //server/share /mnt -ouser=windowsuser
To mount a new windows network share use:
mount -t cifs //server/share /mnt -ouser=windowsuser
You can specify your password on the command line as follows:
mount -t cifs //server/share /mnt -ouser=windowuser,password=windowspass
Last updated: 09/08/2006