Date: Thu, 31 Dec 2020 11:42:02 +0100 From: Gary Jennejohn <gljennjohn@gmail.com> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Eugene Grosbein <eugen@grosbein.net>, freebsd-hackers@freebsd.org Subject: Re: Project information - SMBv2+ Message-ID: <20201231104202.5170c797@ernst.home> In-Reply-To: <dda893e5-a505-e9b7-8490-9aa1590acd64@quip.cz> References: <16e5725b-ec2f-3222-d20d-fd15e597c12c@gmx.net> <dea01842-79e7-33ed-4302-28f2df51d710@quip.cz> <075f31cb-dd13-778d-ed50-3ec7d6f30731@gmx.net> <704a700c-32ff-66eb-6711-5d75099abcd4@quip.cz> <20201230225624.atsnf6u5mmtcu5sw@nerd-thinkpad.local> <8644f79e-3957-3498-efa9-8fbfc7b57581@quip.cz> <41400a64-5f0b-295b-399e-711b9b40b6d3@grosbein.net> <dda893e5-a505-e9b7-8490-9aa1590acd64@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 Dec 2020 11:13:53 +0100 Miroslav Lachman <000.fbsd@quip.cz> wrote: > On 31/12/2020 04:56, Eugene Grosbein wrote: > > 31.12.2020 6:33, Miroslav Lachman wrote: > > > >> Last time I tried smb with fuse it was unstable and does not allowed me > >> to configure what to mount where at boot time. > >> AFAIK fusefs-smbnetfs cannot be used the same way as mount_smbfs in fstab. > >> So I think smbnetfs is not usable solution in our environment even if it works stable and fast. > > > > What are you problems with fuse+fstab, exactly? > > Have you considered systax similar to the following example for net/glusterfs? > > > > gluster1:name /mnt/name fusefs rw,late,backup-volfile-servers=gluster2:gluster3,mountprog=/usr/local/sbin/mount_glusterfs 0 0 > > Do you or anybody else have a working example for smbnetfs? I tested it about a year ago, I do not remember all the details but I cannot find how to use it in fstab. > I remember the configuration file was per user, mounting was done automaticly in the form: > cd mountpoint/username:password@computer_or_ip > > or mounted in hierarchy like: > /workgroup/computer/share > > So if there is some way to configure it in /etc/fstab to mount "//user@server/share" to /mnt/my_share I would really like to re-test it. > Seems unlikely. Looking at the source code reveals that getfsent and the other routines used to parse /etc/fstab are not present. -- Gary Jennejohn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201231104202.5170c797>