Date: Wed, 12 Dec 2012 06:40:53 +0100 From: Polytropon <freebsd@edvax.de> To: Bill Tillman <btillman99@yahoo.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> 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: <CAON8%2BsbL_1AOF7vaqDg1AeX0Gi2ZL9fCT80Zf1Rxrv8ieDDM=Q@mail.gmail.com> <20121211175759.310ec79f.freebsd@edvax.de> <1355263718.29274.YahooMailNeo@web165003.mail.bf1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121212064053.6973d008.freebsd>