From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 16:43:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2A77246 for ; Tue, 11 Dec 2012 16:43:15 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5B18FC12 for ; Tue, 11 Dec 2012 16:43:15 +0000 (UTC) Received: from [10.219.130.115] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qBBGgwHQ077548 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 11 Dec 2012 10:42:58 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50C762C4.5060408@tundraware.com> Date: Tue, 11 Dec 2012 10:43:48 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Mounting a samba share on boot? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Tue, 11 Dec 2012 10:42:59 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qBBGgwHQ077548 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 16:43:15 -0000 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