Date: Tue, 20 Jun 2006 16:14:45 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Matt Sealey <matt@genesi-usa.com> Cc: freebsd-fs@freebsd.org Subject: Re: On-disk format of UFS/UFS2 (for firmware implementation) Message-ID: <20060620161319.N18295@fledge.watson.org> In-Reply-To: <00b101c69476$9a6686a0$99dfdfdf@bakuhatsu.net> References: <00b101c69476$9a6686a0$99dfdfdf@bakuhatsu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Jun 2006, Matt Sealey wrote: > I was wondering if there is any definitive, authoritative or even just > comprehensive documentation on the on-disk format (superblock, nodes, file > linking, extents..) of the UFS and UFS2 filesystems. > > We would like to implement it in firmware for booting FreeBSD (and NetBSD > and eventually Solaris which uses some variant). I have the source code from > sys/fs/ufs already but it is not the preferred method of implementing > filesystem code. It only needs read support for now so it shouldn't be that > complicated, but... This isn't quite what you're asking for, but you might take a look at src/sys/boot/common/ufsread.c, which is used by the FreeBSD boot loader to load files from UFS. It uses include files from sys/ufs. Robert N M Watson Computer Laboratory University of Cambridge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060620161319.N18295>