Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2021 11:36:11 +0300
From:      Yuri <yuri@aetern.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Deprecating smbfs(5) and removing it before FreeBSD 14
Message-ID:  <6f99f9bc-8831-aefe-4f73-72f50f8f347b@aetern.org>
In-Reply-To: <CAPyFy2CJKxMQQKwD3N=MTe-P4KodN77e3YCEh4z0Ssf9sXWEcQ@mail.gmail.com>
References:  <CAPyFy2CJKxMQQKwD3N=MTe-P4KodN77e3YCEh4z0Ssf9sXWEcQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ed Maste wrote:
> The smbfs(5) filesystem supports only the obsolete SMBv1 protocol, and
> I propose removing it for FreeBSD 14. I know the CHERI folks have been
> using it but they plan to migrate away from it. It was broken for
> months before they fixed it, so I suspect nobody is using it on
> contemporary releases.
> 
> I have review D32707 (https://reviews.freebsd.org/D32707) open to add
> this deprecation notice to the man page:
>      The smbfs filesystem driver supports only the obsolete SMBv1 protocol.
>      smbfs and userspace counterparts smbutil(1) and mount_smbfs(8) are not
>      present in FreeBSD 14 and above.  Users are advised to evaluate the
>      sysutils/fusefs-smbnetfs port instead.
> 
> A similar notice would be added to the smbutil and mount_smbfs man
> pages, and manu@ suggested having the userland utilities emit a
> warning when they are used.
> 
> I am interested in comments, objections, or reports that anyone is in
> fact using smbfs.

I thought I'd mention the SMB client in illumos which is originally
based on FreeBSD one, imported and enhanced by Apple, then imported by
Sun, and finally updated to support SMB2/SMB3 in illumos.  It has a lot
of CDDL code now, but as ZFS shows it's not really a stopper.

ISTR there is (was?) also an Apple SMB client (based on FreeBSD)
somewhere on their "opensource" site.

Just saying that there are other options if someone(TM) is interested in
doing the work.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6f99f9bc-8831-aefe-4f73-72f50f8f347b>