Phone: +65-8585-1750

Address: 30 Holland Close, Singapore

Mount Windows (or Samba) share on Linux

Sun, Sep 7, 2008 mdda OSS Blog Comments

Mount Windows (or Samba) share on Linux

After a suitable mount-point is created (in this example mkdir -p /mnt/fscapital_server/), into /etc/fstab put the following (all on one line) :

# Mount windows Server drive :  
// /mnt/fscapital_server/ cifs username=andrewsm,password=whatever 0 0   

where each of the spaces above is really a cntrl-t (Tab) - just for neatness, really.

Then one can mount /mnt/fscapital_server/ and see the drive immediately with ls -l /mnt/fscapital_server/. Simple.

linux samba

blog comments powered by Disqus