From owner-freebsd-fs@FreeBSD.ORG Sat Mar 13 15:30:09 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2D53106567D for ; Sat, 13 Mar 2010 15:30:09 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id DB2E98FC24 for ; Sat, 13 Mar 2010 15:30:08 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2831845F3D; Sat, 13 Mar 2010 16:30:07 +0100 (CET) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 53045456B1; Sat, 13 Mar 2010 16:30:01 +0100 (CET) Date: Sat, 13 Mar 2010 16:30:00 +0100 From: Pawel Jakub Dawidek To: Jakub Rajman Message-ID: <20100313153000.GI3209@garage.freebsd.pl> References: <37b87d3d1003111144j38d8c9edsb1c80d8009149d73@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3uo+9/B/ebqu+fSQ" Content-Disposition: inline In-Reply-To: <37b87d3d1003111144j38d8c9edsb1c80d8009149d73@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: Example of simple filesystem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2010 15:30:09 -0000 --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 11, 2010 at 08:44:32PM +0100, Jakub Rajman wrote: > Hello, >=20 > I am going to write my own simple file system and run it under the > FreeBSD OS. I'm looking for some inspiration in existing file systems > (UFS2, msdosfs,...), but they are too complex and complikated. > So I would like to ask, if exists some simple "experimental" > filesystems? Some workable (and mountable) examples with their source > codes. MSDOSFS is probably the easiest example of read-write general-purpose file system. If you want to start with something easier, you can take a look at cd9660 file system, which is read-only. Be prepared that file systems aren't easy, especially because VFS layer is very complex. Good luck:) --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3uo+9/B/ebqu+fSQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkubr3cACgkQForvXbEpPzTymwCfZkNz0dWnQ7l3UuUoxrGJ/TJH A48AoL0eBovQ3fOBHmIY4oN91OBc6OAJ =/lMm -----END PGP SIGNATURE----- --3uo+9/B/ebqu+fSQ--