From owner-freebsd-hackers Mon Dec 4 10:45:24 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA22887 for hackers-outgoing; Mon, 4 Dec 1995 10:45:24 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA22867 ; Mon, 4 Dec 1995 10:45:18 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA04000; Mon, 4 Dec 1995 11:41:55 -0700 From: Terry Lambert Message-Id: <199512041841.LAA04000@phaeton.artisoft.com> Subject: Re: modloadable file system? To: leisner@sdsp.mc.xerox.com (Marty Leisner) Date: Mon, 4 Dec 1995 11:41:54 -0700 (MST) Cc: freebsd-hackers@FreeBSD.org, freebsd-questions@FreeBSD.org In-Reply-To: <9512041524.AA18658@gnu.mc.xerox.com> from "Marty Leisner" at Dec 4, 95 07:24:28 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1239 Sender: owner-hackers@FreeBSD.org Precedence: bulk > > Can I see an example of a modloadable file system? /usr/src/lkm/cd9660 /usr/src/lkm/kernfs /usr/src/lkm/mfs /usr/src/lkm/msdos /usr/src/lkm/nfs /usr/src/lkm/nullfs /usr/src/lkm/procfs /usr/src/lkm/umapfs /usr/src/lkm/union There is no difference in the FS code between a loadable and a static FS, with the following exceptions: 1) A code switch stub for initialization, deinitialization, and status chacking. This is an artifact of the default static FS initialization mechanism. 2) You must have at least one static FS that contains all allowable VOP's. This is an artificate of /ys/kern/vfs_init.c having a loop to count VOP's instead of an extern variable to set up the variable num_vops in vnode_if.c, where it really belongs. > I assume we can support it? Yes. > Also, in the kernel source tree, what's the difference between > ufs and ffs? (aren't they the same thing?) "UFS" is a set of common code used by both FFS and LFS (LFS is an FFS derived log structured file system). Like Veritas (VXFS), LFS uses FFS directory structures and other shared code to get flexnames. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.