user-avatar
Today is Friday
November 22, 2024

Tag: mount

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.