Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 11:11:00 -0500
From:      "ozan s. yigit" <oz@zonzorp.canada.sun.com>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Instead of JFS, why not a whole new FS? 
Message-ID:  <200112181611.LAA26047@zonzorp.canada.sun.com>
In-Reply-To: Message from Terry Lambert <tlambert2@mindspring.com>  of "Mon, 17 Dec 2001 18:29:46 PST." <3C1EAA1A.CA49932@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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-fs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112181611.LAA26047>