Index: contrib/smbfs/mount_smbfs/mount_smbfs.8 =================================================================== --- contrib/smbfs/mount_smbfs/mount_smbfs.8 +++ contrib/smbfs/mount_smbfs/mount_smbfs.8 @@ -1,6 +1,6 @@ .\" $Id: mount_smbfs.8,v 1.10 2002/04/16 02:47:41 bp Exp $ .\" $FreeBSD$ -.Dd November 1, 2018 +.Dd October XX, 2021 .Dt MOUNT_SMBFS 8 .Os .Sh NAME @@ -31,6 +31,24 @@ .Sm on .Ar node .Sh DESCRIPTION +.Bf -symbolic +The +.Nm +command and associated +.Xr smbfs 5 +filesystem driver support only the obsolete SMBv1 protocol. +.Nm , +.Xr smbutil 1 , +and +.Xr mount_smbfs 8 +are not present in +.Fx 14 +and above. +Users are advised to evaluate the +.Pa sysutils/fusefs-smbnetfs +port instead. +.Ef +.Pp The .Nm command mounts a share from a remote server using SMB/CIFS protocol. Index: contrib/smbfs/smbutil/smbutil.1 =================================================================== --- contrib/smbfs/smbutil/smbutil.1 +++ contrib/smbfs/smbutil/smbutil.1 @@ -1,5 +1,5 @@ .\" $Id: smbutil.1,v 1.5 2002/04/16 02:48:16 bp Exp $ -.Dd November 14, 2018 +.Dd October XX, 2021 .Dt SMBUTIL 1 .Os .Sh NAME @@ -12,6 +12,24 @@ .Op Ar options .Op Ar args .Sh DESCRIPTION +.Bf -symbolic +The +.Nm +utility and associated +.Xr smbfs 5 +filesystem driver support only the obsolete SMBv1 protocol. +.Nm , +.Xr smbfs 5 , +and +.Xr mount_smbfs 8 +are not present in +.Fx 14 +and above. +Users are advised to evaluate the +.Pa sysutils/fusefs-smbnetfs +port instead. +.Ef +.Pp The .Nm command is used to control SMB requester and issue various commands. Index: share/man/man5/smbfs.5 =================================================================== --- share/man/man5/smbfs.5 +++ share/man/man5/smbfs.5 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 8, 2020 +.Dd October XX, 2021 .Dt SMBFS 5 .Os .Sh NAME @@ -44,6 +44,23 @@ smbfs_load="YES" .Ed .Sh DESCRIPTION +.Bf -symbolic +The +.Nm +filesystem driver supports only the obsolete SMBv1 protocol. +.Nm +and userspace counterparts +.Xr smbutil 1 +and +.Xr mount_smbfs 8 +are not present in +.Fx 14 +and above. +Users are advised to evaluate the +.Pa sysutils/fusefs-smbnetfs +port instead. +.Ef +.Pp The SMB driver is an implementation of the CIFS (Common Internet Filesystem) network protocol. .Sh SEE ALSO Index: sys/fs/smbfs/smbfs_vfsops.c =================================================================== --- sys/fs/smbfs/smbfs_vfsops.c +++ sys/fs/smbfs/smbfs_vfsops.c @@ -141,6 +141,8 @@ int error, v; char *pc, *pe; + gone_in(14, "smbfs SMBv1 filesystem"); + dev = NULL; td = curthread; if (mp->mnt_flag & (MNT_UPDATE | MNT_ROOTFS))