From nobody Tue Jun 4 23:01:37 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vv5gx2Sqqz5Ms6f for ; Tue, 04 Jun 2024 23:01:49 +0000 (UTC) (envelope-from SRS0=GIxD=NG=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vv5gx0Gbxz47B6; Tue, 4 Jun 2024 23:01:48 +0000 (UTC) (envelope-from SRS0=GIxD=NG=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 27A31D789E; Wed, 5 Jun 2024 01:01:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1717542100; bh=oyp79VyrLrw1Z1nkLlqEeaG2Xz+uV5b42jmC2vvNHUI=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=GI5DiSJCH6fDJD5oXn0syZWHxx4cDDsGxmw44zQ61QHUj13oabtPi68knPahF+qi9 CAlPN5op9fUaG+rcjuzX9Csss0mMuIZhEtX2oFhohRSJdPLku0rSodnTndvgSR3Dqo scINlDWf3cMTHw5HfUhAbKwjeoYLXyPlXXnWjbYA= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 51E92D789B; Wed, 5 Jun 2024 01:01:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1717542098; bh=oyp79VyrLrw1Z1nkLlqEeaG2Xz+uV5b42jmC2vvNHUI=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Ql35mQIyi2Jc+juFXGmaGXkGOqU8Fzyzau+lqNAPiXGNBQ9Z+VW4fSDSp34RJ3SXe qvIxwgT7XTkwvP9Mnf2rWGKcoVBRgaJFOm+Xp/ll4mTUG495y4g8oWHhaMjDvsx+oG 9btushPKpyJxh+ECJvlLPZ0HwfO93s2JlkChZ/WE= Message-ID: Date: Wed, 5 Jun 2024 01:01:37 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Deprecating smbfs(5) and removing it before FreeBSD 14 To: John Hixson Cc: Rick Macklem , "freebsd-current@freebsd.org" References: <489849ca-a404-fb54-81d1-d62ea18c5832@FreeBSD.org> <254a0b5e-72d9-f93e-0c49-82b50a35db41@quip.cz> <3bbacbac-9238-f29d-653c-86d13085afe0@quip.cz> <4ea542mqtue7ety23gpgxborpl4brx3fewhgy5p23ozivjzeay@dyk4oxvgs7c5> Content-Language: cs-Cestina From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <4ea542mqtue7ety23gpgxborpl4brx3fewhgy5p23ozivjzeay@dyk4oxvgs7c5> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4Vv5gx0Gbxz47B6 On 04/06/2024 23:52, John Hixson wrote: > On Mon, Jun 27, 2022 at 03:27:54PM +0200, Miroslav Lachman wrote: >> On 16/06/2022 15:56, Rick Macklem wrote: >>> Miroslav Lachman <000.fbsd@quip.cz> wrote: >>>> On 24/01/2022 16:13, Rick Macklem wrote: >>>> >>> [...] >>>> >>>>> So, I think Mark and Yuri are correct and looking at up to date >>>>> Illumos sources is the next step. >>>>> (As I mentioned, porting the Apple sources is beyond what I am >>>>> willing to attempt.) >>>>> >>>>> rick >>>> >>>> Hello Rick, >>>> I would like to ask you I there is some progress with porting newer >>>> SMBFS / CIFS version to FreeBSD? Did you find Illumos sources as a >>>> possibility where to start porting? >>> Yes. I have the stuff off Illumos-gate, which I think is pretty up-to-date >>> and I agree that it should be easier than the Apple stuff to port into >>> FreeBSD. I don't think it is "straightforward" as someone involved >>> with Illumos said, due to the big differences in VFS/locking, but... >>> >>> Having said the above, I have not done much yet. I've been cleaning up >>> NFS stuff, although I am nearly done with that now. >>> I do plan on starting to work on it soon, but have no idea if/when I >>> will have something that might be useful for others. >> >> I'm glad to hear that. >> >>>> We have more and more problems with current state of mount_smbfs. I >>>> would be really glad if "somebody" can do the heroic work of >>>> implementing SMBv2 in FreeBSD. >>>> Maybe it's time to start some fundraising for sponsoring this work? >>> Well, funding isn't an issue for me (I'm just a retired guy who does this >>> stuff as a hobby). However, if there is someone else who is capable of >>> doing it if they are funded, I have no problem with that. >>> I could either help them, or simply stick with working on NFS and leave >>> SMBv23 to them. >>> >>> Sorry, but I cannot report real progress on this as yet, rick >> >> No need to sorry. I really appreciate your endless work on NFS and that you >> still have kind of interest to try porting SMBv2/3. >> Unfortunately I don't know anybody else trying to do this tremendous work. >> > > I am working on a from scratch implementation of smbfs. I do not have > any kind of time estimate since it is in my spare time. I chose this > route after spending considerable time looking at Apple and Solaris > implementations and wanting something without all of the legacy 1.0 > crap. I do have a very minimal working FUSE version at this point, but > there is much to do, and even more to abide by the various > specifications. > > I just thought I'd share in case anyone is interested. Thank you for the message. I'm glad someone has the courage to take the plunge. Smbfs is still very important to me. In a heterogeneous environment it is still the most common way to share data between systems. Are you planning the final version as a kernel module, or will the final version be via FUSE? I have had bad experiences with FUSE in the past with stability and performance. Best regards Miroslav Lachman