Project information - SMBv2+

Gary Jennejohn gljennjohn at gmail.com
Thu Dec 31 10:42:09 UTC 2020


On Thu, 31 Dec 2020 11:13:53 +0100
Miroslav Lachman <000.fbsd at 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 at 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 at 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


More information about the freebsd-hackers mailing list