> 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      [EMAIL PROTECTED] || +1 [905] 415 2878
---
narrowness of imagination leads to narrowness of experience. [corollary to rob]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to