From owner-freebsd-questions Wed Aug 2 12:20:52 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id MAA25804 for questions-outgoing; Wed, 2 Aug 1995 12:20:52 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id MAA25797 for ; Wed, 2 Aug 1995 12:20:50 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.3.6) id AA19166; Wed, 2 Aug 1995 15:20:45 -0400 Date: Wed, 2 Aug 1995 15:20:45 -0400 From: Garrett Wollman Message-Id: <9508021920.AA19166@halloran-eldar.lcs.mit.edu> To: terry@cs.weber.edu (Terry Lambert) Cc: questions@freebsd.org Subject: Re: Loadable kernel modules/filesystems In-Reply-To: <9508021902.AA08806@cs.weber.edu> References: <9508021434.AA18737@halloran-eldar.lcs.mit.edu> <9508021902.AA08806@cs.weber.edu> Sender: questions-owner@freebsd.org Precedence: bulk <> I do not believe that there is any valid reason to do this, which is >> why I didn't implement it that way. > So i can add frogfs to the kernel and mount a frogfs file system without > having to recompile my kernel or modify system header files. Right, you can indeed do that now. >> > Really, it wants file systems to be described with a flags descriptor >> > so that you can know whether a file system is local or remote >> >> Which we have and do set as appropriate. > Prior to root mount, and in all cases? Yes. It's in the vfsconf structure's `flags' field; the flag is called VFCF_NETWORK. There are also flags for statically-loaded filesystems (VFCF_STATIC), read-only filesystems (VFCF_READONLY), synthetic filesystems with no physical backing like procfs and kernfs (VFCF_SYNTHETIC), and loopbacks (VFCF_LOOPBACK). -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant