From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 05:40:53 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 BA7ACAA3 for ; Wed, 12 Dec 2012 05:40:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 736778FC15 for ; Wed, 12 Dec 2012 05:40:53 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id A462D3CB2C; Wed, 12 Dec 2012 06:40:51 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBC5erLO001922; Wed, 12 Dec 2012 06:40:53 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 12 Dec 2012 06:40:53 +0100 From: Polytropon To: Bill Tillman Subject: Re: Mounting a samba share on boot? Message-Id: <20121212064053.6973d008.freebsd@edvax.de> In-Reply-To: <1355263718.29274.YahooMailNeo@web165003.mail.bf1.yahoo.com> References: <20121211175759.310ec79f.freebsd@edvax.de> <1355263718.29274.YahooMailNeo@web165003.mail.bf1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 05:40:53 -0000 On Tue, 11 Dec 2012 14:08:38 -0800 (PST), Bill Tillman wrote: > Typically, Samba is used so that Windows or other SMB type > OS'es can access the server. That said, I would simplify all > this with the way I have mine setup. You will of course need > the shares configured in your smb.conf, then simply put a > command in your /etc/rc.local or /etc/rc.d/ to launch smdb > and nmbd. I don't rely on anything in /etc/fstab to use samba. > It's all in my smb.conf file. Yes, that would be "the other way round", which I thought would be less probable due to the question presented in the subject. Terms like "mount [...] on boot" suggests that FreeBSD would act as a SMB client here. Of course, the standard way to do things like this would usually be something like NFS, which is not very well supported in "Windows" land (and therefor requiring SMB stuff). Delegating the configuration into _one_ file (instead of spreading it across /etc/fstab, /etc/nsmb.conf and maybe some handcrafted /usr/local/etc/rc.d script) sounds like a much better approach. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...