From owner-freebsd-hackers Tue Dec 18 8:13:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from patan.sun.com (patan.Sun.COM [192.18.98.43]) by hub.freebsd.org (Postfix) with ESMTP id 5B3AB37B405; Tue, 18 Dec 2001 08:13:07 -0800 (PST) Received: from canadamail1.Canada.Sun.COM ([129.155.5.100]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id JAA02709; Tue, 18 Dec 2001 09:12:48 -0700 (MST) Received: from opcom-mail.canada.sun.com (scot.Canada.Sun.COM [129.155.8.107]) by canadamail1.Canada.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id LAA01699; Tue, 18 Dec 2001 11:13:05 -0500 (EST) Received: from zonzorp.canada.sun.com (zonzorp.Canada.Sun.COM [129.155.6.21]) by opcom-mail.canada.sun.com (8.9.1b+Sun/8.9.1) with ESMTP id LAA12127; Tue, 18 Dec 2001 11:12:40 -0500 (EST) Received: from zonzorp (oz@localhost) by zonzorp.canada.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA26047; Tue, 18 Dec 2001 11:11:01 -0500 (EST) Message-Id: <200112181611.LAA26047@zonzorp.canada.sun.com> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0 To: Terry Lambert Cc: freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Instead of JFS, why not a whole new FS? In-Reply-To: Message from Terry Lambert of "Mon, 17 Dec 2001 18:29:46 PST." <3C1EAA1A.CA49932@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 18 Dec 2001 11:11:00 -0500 From: "ozan s. yigit" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Any FS that shares code with an existing FS will not flush out > the full list of problems associated with writing a new FS in > the context of a FreeBSD system. how about an implementation of plan9's kfs? it is fairly simple, with dentries similar to unix inodes, eg. typedef struct { char name[NAMELEN]; short uid; short gid; ushort mode; short wuid; Qid qid; long size; long dblock[NDBLOCK]; /* 6 */ long iblock; long diblock; long atime; long mtime; } Dentry; and perhaps would make a good educational implementation. sources for plan9's own is in plan9/sys/src/cmd/disk, if one needs to take a look. the document "the plan9 file server" by thompson gives some detail. oz --- ozan s. yigit staff engineer, sun microsystems/es http://www.cs.yorku.ca/~oz ozan.yigit@sun.com || +1 [905] 415 2878 --- narrowness of imagination leads to narrowness of experience. [corollary to rob] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message