Friday, 1 January 2010

mount a windows share using mount.cifs

mount.cifs //192.168.0.20/C$ /mnt/C -o user=user1 password=1234 rw

it's easy, 192.168.0.20 is the server ip, C$ is the shared resources
//192.168.0.29/C$ is the whole UNC name, and no 'ip=192.168.0.20' needed in options
/mnt/C is the local mount point
-0 specify options
user for username
password for password
rw means mount the device as read-write

and mount.cifs can be mount -t cifs

No comments:

Labels

Search This Blog