Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 06:16:27 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Peter Jeremy <peter.jeremy@alcatel.com.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Adding a new FS to FreeBSD
Message-ID:  <3C1A09BB.DEBCB854@mindspring.com>
References:  <20011214141518.E73243@gsmx07.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy wrote:
> Since JFS has come up again...  Are there any papers that explain how
> to integrate a new filesystem into FreeBSD?  The relevant chapter in
> the FreeBSD Developers' Handbook (16) is a bit terse :-).
> 
> Specifically, I'm looking at being able to read/write 2BSD filesystems
> on my FreeBSD machines.

Do you have small images of this FS, as well as header files that
are redistributable (e.g. BSD license) and/or code?

I could do the work for this as an example, if you wanted, since it
should be almost no work at all, with sources under BSD license, but
I would need to be able to dictate some FS image contents, which you
would then need to "dd" into a file, compress, and ship to me (the
intent would be to create an FS writer's tutorial; this may or may
not end up in the handbook... I'd probably want to get a Dr. Dobb's
article out of it first, I think).  In particular, I would want the
following images, as small as possible, along with whatever information
you could give me in the way of BSD licensed headers and source (start
with a "dd" image of all zero, so it will compress very well, and so it
will contain only the delta data):

1)	An empty FS
2)	The same FS, with one one byte file created
3)	The same FS, with two one byte files created
4)	The same fs, with the first file deleted
5)	An empty FS with an empty directory created
6)	The same FS, with one one byte file created in the directory

etc. (I will ask for more, if I need more).

Floppy images are best, if the thing doesn't care what it runs on,
since you can pre-"dd" /dev/zero on top of it, and I can get a vanilla
"newfs" image.

If you have the tools sources (e.g. "newfs", "fsck", etc.), this would
be useful, as well, since I could vnconfig a device and recreate an
empty FS image with native tools (self hosted), as well.

-- Terry

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?3C1A09BB.DEBCB854>