Tuesday, January 25, 2011

Mount windows shared drive

Here's a command I keep forgetting.
In order to mount a windows shared folder just try this with root access:

mount -t cifs -o username=Windows-username //ip-of-windows/shared-folder-name /mount/point

And you've got it

For passwords:
mount -t cifs -o username=Windows-username,password=password //ip-of-windows/shared-folder-name /mount/point

Here's a wonderful link:
http://opensuse.swerdna.org/susesambacifs.html