user-avatar
Today is Tuesday
May 14, 2024

June 9, 2009

Mounting a directory shared through Samba

by viggy — Categories: Uncategorized — Tags: , Leave a comment

Sometimes it is useful to mount a Samba share to a directory so that the files in the directory can be treated as if they are part of the local file system.

To mount a Samba share to a directory, create create a directory to mount it to (if it does not already exist), and execute the following command as root:

$mount -t smbfs -o , \\\ /mnt/point/

This command mounts from in the local directory /mnt/point/. For more information about mounting a samba share, refer to man mount.smbfs.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>