From owner-freebsd-current@FreeBSD.ORG Fri Dec 19 02:05:12 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 E4E1B16A4CE for ; Fri, 19 Dec 2003 02:05:12 -0800 (PST) Received: from razorbill.mail.pas.earthlink.net (razorbill.mail.pas.earthlink.net [207.217.121.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0527D43D31 for ; Fri, 19 Dec 2003 02:05:12 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfmqn.dialup.mindspring.com ([165.247.219.87] helo=mindspring.com) by razorbill.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 1AXHVM-0006My-00; Fri, 19 Dec 2003 02:05:08 -0800 Message-ID: <3FE2CD51.FCF0BD4D@mindspring.com> Date: Fri, 19 Dec 2003 02:05:05 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Benjamin Close References: <3FE29BA4.9060205@unisa.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a467bd87b653f727e8c6d21e1af396274c2601a10902912494350badd9bab72f9c350badd9bab72f9c 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 10:05:13 -0000 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. -- Terry