first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

“Mount a Windows share on Linux with Samba”; Sven Knispel; cri.ch

This article describes how to set up a share from a Linux box to a Windows box. Samba has to be installed.

To test if your Linux machine sees the shares on the Windows box:

smbclient -L <windows-box> -U <username>
  1. Make a directoy for the mountpoint:

    mkdir /mnt/<name-of-mount-point>

  2. Mount the share:

    mount -t smbfs -o username=<username>, password=<password> //<win-box>/<share> /mnt/<name-of-mountpoint>

Note: The syntax -username=<username>,password=<password> saves the password.

  1. Create a symbolic link to the mounted drive:

    ln -s /mnt/<name-of-mount-point> /<path-of-symlink>

[http://cri.ch/linux/docs/sk0001.html]

mod date: 2009-05-22T21:10:46.000Z