Mounting a remote Shared Folder

Instructions to access Windows shared folder on a remote computer using native kernel modules.

= WARNING:PAGE IS OUTDATED = The information on this page is outdated. Please see the Samba for up-to-date instructions.

Configuration
In order to mount a remote filesystem, you must configure your kernel accordingly.

After that, you have to emerge the package mount-cifs.

Refer to the official kernel configuration article to compile and install your fresh kernel.

Usage
Use the following terminal command to mount a remote folder, replacing IP_OR_NAME with the IP or the computer name, SharedFolderName with the the Shared folder name and with the local folder you want to link with.

CIFS (Windows)
Make a target directory:

Mount the remote share:

If you need credentials to access the remote folder, use the following :

You can also specify if the share is read/write (rw), read only (ro) or write only (wo) with the -o parameter. Here is a complete working example :