From owner-freebsd-current@FreeBSD.ORG Fri Dec 19 03:48:26 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7F6716A4CE for ; Fri, 19 Dec 2003 03:48:26 -0800 (PST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id F305D43D4C for ; Fri, 19 Dec 2003 03:48:23 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (203.134.135.190) by smtp01.syd.iprimus.net.au (7.0.020) id 3F8B009E0197830D; Fri, 19 Dec 2003 22:48:22 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 8DC89611E; Fri, 19 Dec 2003 22:48:53 +1100 (EST) Date: Fri, 19 Dec 2003 22:48:53 +1100 From: Tim Robbins To: Terry Lambert Message-ID: <20031219114853.GA234@wombat.robbins.dropbear.id.au> References: <3FE29BA4.9060205@unisa.edu.au> <3FE2CD51.FCF0BD4D@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FE2CD51.FCF0BD4D@mindspring.com> User-Agent: Mutt/1.4.1i cc: Benjamin Close cc: freebsd-current@freebsd.org Subject: Re: smbfs 4G max file size X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 11:48:26 -0000 On Fri, Dec 19, 2003 at 02:05:05AM -0800, Terry Lambert wrote: > Benjamin Close wrote: > > Hi All, > > Whilst tinkering with some backups the other day I noticed that > > smbfs capped out at 4G. > > Does the protocol restrict it to this limit or is there something else? > > It is a limitation imposed by the 32 bit file size in bytes field > for the over the wire protocol. It occurs becaus the FreeBSD SMBFS > client code uses a slightly older, cruftier version of the SMB > protocol (at least this is my understanding). > > I've acutally suggested a couple of times in the past that someone > take the Darwin SMBFS code from MacOS X (10.3, Panther), which is > now up on the Apple developer site, and back-port it to FreeBSD. This is a pain to do without proper change logs or version control and there are problems with their choice of licence. In addition, porting Apple's code would re-introduce many bugs that have been fixed in FreeBSD. Tim