Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2003 22:23:49 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Tim Robbins <tjr@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: smbfs 4G max file size
Message-ID:  <3FE3EAF5.94E23A4@mindspring.com>
References:  <3FE29BA4.9060205@unisa.edu.au> <3FE2CD51.FCF0BD4D@mindspring.com> <20031219114853.GA234@wombat.robbins.dropbear.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Tim Robbins wrote:
> On Fri, Dec 19, 2003 at 02:05:05AM -0800, Terry Lambert wrote:
> > Benjamin Close wrote:
> > >     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.

I think you haven't looked at the code in question.  Apple only
applies the APSL to code that it writes.  There are a number of
projects that were originally external code, and for those, the
license is whatever it started as.  Since the SMBFS code is a
port of the FreeBSD SMBFS code, the license has been left alone.

As to the reintroduction of bugs, I seriously doubt it, since the
SMBFS follows the FreeBSD changes pretty religiously on its own.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FE3EAF5.94E23A4>