From owner-freebsd-hackers Sat Sep 9 14:09:32 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA00577 for hackers-outgoing; Sat, 9 Sep 1995 14:09:32 -0700 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 OAA00568 for ; Sat, 9 Sep 1995 14:09:29 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA13541; Sat, 9 Sep 1995 14:01:40 -0700 From: Terry Lambert Message-Id: <199509092101.OAA13541@phaeton.artisoft.com> Subject: Re: ksmfs in bsd/sunos kernels... To: leisner@sdsp.mc.xerox.com (Marty Leisner) Date: Sat, 9 Sep 1995 14:01:40 -0700 (MST) Cc: hackers@FreeBSD.ORG In-Reply-To: <9509091608.AA05561@willow.mc.xerox.com> from "Marty Leisner" at Sep 9, 95 09:08:21 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: 1582 Sender: hackers-owner@FreeBSD.ORG Precedence: bulk > Linux has ksmfs (a Samba file system...) This file system has some significant problems. It took 3 years to ferret out similar problems in the Novell NUC (NetWare UNIX Client) design. The major issue is that the authenticated credentials are not multiplexed; I talked this over with Andrew on the Samba list in some detail and at some length. > Is this available on freebsd? No, but it would be an easy port. The problem, as always, is GPL. It can't be distributed as part of the kernel unless the GPL restrictions are removed. It could be distributed as a loadable module IFF the sources were placed under LGPL instead of GPL (which only requires the ability to relink, and that's what loading a kernel module is). > I like it, its fairly clever... 8-| > Anyone want to point me at something to look at (code preferred) > on how to register a file system in a device driver (I assume > it works almost the same was in SunOS and BSD?) All of the filesystems in BSD are loadable. It's just that some are intentionally statically linked in order to bootstrap the system. You can look at the contents and subdirectory contents of any directory ending in "fs" in the kernel sources. That is: /sys/*fs/* and /sys/*fs/*/* > Linux has 2 calls {register/unregister}_filesystem() to add > filesystems at run time... VNODEOP_SET() > This seems preferable instead of forcing PCs to run nfs... Depends on your point of view. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.