From owner-freebsd-fs Thu Mar 19 12:30:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02391 for freebsd-fs-outgoing; Thu, 19 Mar 1998 12:30:47 -0800 (PST) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA02385 for ; Thu, 19 Mar 1998 12:30:45 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id UAA06749 for ; Thu, 19 Mar 1998 20:30:43 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id VAA08591; Thu, 19 Mar 1998 21:30:38 +0100 (MET) Message-ID: <19980319213037.47691@follo.net> Date: Thu, 19 Mar 1998 21:30:37 +0100 From: Eivind Eklund To: fs@FreeBSD.ORG Subject: [thorpej@nas.nasa.gov: The death of vfs_conf.c] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Should we be doing something similar to this? ----- Forwarded message from Jason Thorpe ----- Message-Id: <199802171823.KAA16112@lestat.nas.nasa.gov> To: tech-kern@NetBSD.ORG Subject: The death of vfs_conf.c From: Jason Thorpe Date: Mon, 16 Feb 1998 23:10:20 -0800 Hi folks... So, today I sat down and finally finished some work I started over a year ago to nuke vfs_conf.c. Basically, the round of changes to config(8) that added the "file-system" keyword were geared towards making the list of statically-included file systems generated by config(8), with no need for icky #ifdef's. The changes attached below basically do: (1) Remove vfssw[] and vfs_opv_descs[]. vfssw[] has been replaced with vfs_list, and a generated table vfs_list_initial[] which vfsinit() uses to build vfs_list a boot time. (2) In support of (1), struct vfsops now has a LIST_ENTRY and a pointer to a NULL-terminated array of struct vnodeopv_desc *'s. (3) vfs_init.c has been modified to make the 2nd part of (2) possible, and also to build the initial vfs_list. (4) vfs_establish() and vfs_disestablish() - new functions for adding and removing file systems from the kernel's vfs_list. Used by LKM code and vfsinit(). (5) All places that referenced vfssw[] have been cleaned up to use the most appropriate interface for that situation. (6) LKMs have been cleaned up, and fixed. (Previously, file systems which supported FIFOs or special files had broken LKMs.) (7) [ Not shown ] Delete vfs_conf.c If there are no objections, I'll commit these as soon as I've had a chance to test all of the LKMs (probably Tuesday evening, PST). Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: +1 408 866 1912 NAS: M/S 258-5 Work: +1 650 604 0935 Moffett Field, CA 94035 Pager: +1 415 428 6939 ----- End forwarded message ----- Full set of patches deleted; these are 50k. Available on request. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message