Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2001 18:55:17 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Joseph Mallett <jmallett@NewGold.NET>
Cc:        Giorgos Keramidas <charon@labs.gr>, Dennis Berger <Dennis.Berger@nipsi.de>, freebsd-fs@FreeBSD.ORG
Subject:   Re: Porting a new filesystem to FreeBSD
Message-ID:  <3BA55805.5B6E1976@mindspring.com>
References:  <3BA4B507.CC70ECD4@nipsi.de> <3BA5273F.A2131982@mindspring.com> <20010916223009.A53663@NewGold.NET> <20010917033118.A1020@hades.hell.gr> <20010917005844.A62643@NewGold.NET>

next in thread | previous in thread | raw e-mail | index | archive | help
Joseph Mallett wrote:
> Errr sorry, you seem to have misunderstood what -i- was talking about... I
> was under the impression such things may have already been done to some
> extent, and aside from it breaking binary compat, I wondered why nobody
> had made it a possible option, at the very least.
> 
> I'd be glad to do the work to make it optional, if I had code that worked
> for FFS. I'm not interested in doing the code for FFS itself, but I'd be
> glad to do what I asked about, which is to make such code optional, as it
> would be likely to break binary compatability.

My old code will not make you happy, since you would need to
disable soft updates to use it, or add in the dependencies
and dependency resolution and rewind/forward code to handle
them when they are flushed by the syncd clock.  I can still
give it to you as patches against 2.2.5 FreeBSD, however, if
you want it, and have a 2.2.5 source tree checked out against
which to apply it.  My code is non-optional (i.e. you do not
get the old directory format at all), and relies on you booting
from an MFS image, since I did not do the bootstrap code.  IMO,
you would be better off starting from the 4.x code base, since
it has Soft Updates integrated already, and you will need to
deal with it.

It is probably a two week task for a graduate student to do
this code from scratch.  If you have that level of capability,
don't fear reading Knuth and writing code, since you will be
working on a scratch disk anyway, and should expect to have to
newfs it 40 or 50 times in the process (I use floppies, or the
smallest partition possible for the FS type, when I do this
kind of work).

-- Terry

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BA55805.5B6E1976>