Mounting a samba share on boot?

Tim Daneliuk tundra at tundraware.com
Tue Dec 11 16:43:15 UTC 2012


On 12/11/2012 10:25 AM, Hanafi Syahroini wrote:

This can be done with appropriate entries in /etc/fstab.  However,
I'd recommend against doing so because, if the SMB server
is unreachable when the FreeBSD system boots, the FreeBSD
box will hang looking for the SMB connection.

A better way is to put a custom script in /usr/local/etc/rc.d/
that initiates the SMB mounts there.  This too could fail, but
it doesn't prevent the OS From booting fully.

-- 
-----------------------------------------------------------------------
Tim Daneliuk


More information about the freebsd-questions mailing list