Friday, April 05, 2013

Mounting Windows Share on Linux

Tech Blog - A quick nd dirty how to no mounting Windows share.

First we edit fstab file

 #vi /etc/fstab

Append below line, you can also use credential and put your username and password on a file.

\\\Movie /win cifs user,uid=500,rw,suid,username=mugumugu,password=secretpass 0 0

Once appended

Create the mount target /win then mount the FS

#mkdir /win
#mount -a

Once done check the mount

# df -k .
Filesystem           1K-blocks      Used Available Use% Mounted on
\\\\\\Movie                     488383484 436233244  52150240  90% /win

Thats it.

No comments:

For suggestion and concerns E-mail