Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 18:37:33 +1100 (EST)
From:      Warren Toomey <wkt@minnie.tuhs.org>
To:        Greg Lehey <grog@FreeBSD.org>
Cc:        Terry Lambert <tlambert2@mindspring.com>, Warren Toomey <wkt@tuhs.org>, Peter Jeremy <peter.jeremy@alcatel.com.au>, freebsd-hackers@FreeBSD.org
Subject:   Re: Adding a new FS to FreeBSD
Message-ID:  <200112160737.fBG7bXt24793@minnie.tuhs.org>
In-Reply-To: <20011216115556.A62493@monorchid.lemis.com> from Greg Lehey at "Dec 16, 2001 11:55:56 am"

next in thread | previous in thread | raw e-mail | index | archive | help

--ELM715206727-24759-0_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

In article by Greg Lehey:
> That may be easier than you think.  I'm copying Warren Toomey on
> this.  Warren is (a) a FreeBSD user and (b) the person who negotiated
> these contracts in the first place.  Warren, Peter is thinking of
> porting the 2BSD file system (not sure whether that's UFS or the
> original UNIX file system) to FreeBSD.  As Terry observes, the current
> license doesn't allow that.

All, I've had a brief look at the UFS implementation in FreeBSD 4.x,
2.11BSD and a few other systems. I would say that there's enough in
FreeBSD's /sys/ufs/ufs code that 2.11BSD's UFS code is not required.
Perhaps you could read 2.11BSD's code just to cross check things in
FreeBSD's UFS implementation.

I've attached a GIF to show the relationship between the various
systems al the way back to the UFS in 7th Edition (1979). I have
also put up the code for comparison at:

http://minnie.tuhs.org/UnixTree/

As per the Caldera license, you need to prove that you agree to this
license to get access. This is easily done at:

http://www.tuhs.org/archive_access.html

and you will be e-mailed your username and password.

Obviously, the codebase has diverged between FreeBSD and 2.11BSD, but
I would say that FreeBSD already has a nearly-working UFS implementation.
Also, the structure of UFS is so well documented in various books that,
even if FreeBSD's UFS implementation was deficient, it could be rectified
with reference to the books.

Hope this helps,
	Warren

--ELM715206727-24759-0_
Content-Type: image/gif
Content-Disposition: attachment; filename=ufsdiagram.gif
Content-Description: ufsdiagram.gif
Content-Transfer-Enc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2eiILn3sO2701wYyc7l5aoNAuDPSeAG0wx5ZxKJHMwnu+QgRTFo/V6Mk5E
ff94KM03Px6TjPLz2fh9/UyfNY9MxTrvfOWBVvc13IfuSem6Jrm+WNOPMPEBXPzksaBFpet+9zw6
fcG/vPVhMq4vKUY8lKPGZsFzi8JoB7rvdxZnJsOdb3rro5tjH03p0xkc1Ze8HMeF5+ZZ6ir0dDrp
zyh8fa6yrTUA/ZEzhfVaayT//GaUGfNxPOlpELqOmPTq+qvXdUeEKGZmfXVlGlDEfy7GDioDYp6X
cQPYfRaTHPkUaaXXYU1XfMaHftHXePT3YtKjRoa2TABodT2FIs/3MrDyfwXogIdVKaDEgA/Tgi4o
QLkXaf2HAQUAADs=

--ELM715206727-24759-0_--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112160737.fBG7bXt24793>