From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,2cb3800f808c7621 X-Google-Attributes: gid10d4db,public From: lord@emf.net (Tom Lord) Subject: experimental, extensible Linux NFS server soon to be available Date: 1996/09/19 Message-ID: #1/1 X-Deja-AN: 184050513 organization: emf.net -- Quality Internet Access. (510) 704-2929 (Voice) followup-to: comp.os.linux.misc newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- This announcement is about the availability of a new source code package called snfs, which stands for Systas-NFS. Systas, in turn, stands for "systems application scheme", a temporary branch from the main line of development of GNU Guile. Work to remerge this branch to the main line is just now beginning. SNFS is based on a simple, but powerful idea. Here it is: A unix NFS file server is a program that performs unix system calls and directory-reading functions to examine a real file system. The same program listens on network connections for requests from NFS clients. Each request is answered by examining the file system and formatting a suitable reply. In SNFS, the server's interface to the file system has been abstracted. System calls and directory reading functions have been replaced by call-outs to user-supplied Scheme procedures. This opens the door to a great many possibilities. The server might "experience" via system calls a real file system, or it might find itself in a virtual file system whose precise semantics are determined by Scheme programs. In either case, the clients just sees an NFS file system, though one in which the basic file operations may be overloaded to have extra semantics beyond those required of any NFS implementation. A few of the potentials of this server are user-space implementations of file systems with non-standard semantics. Examples include: union filesystems copy-on-write file systems caching file systems first-served file systems -- a proxy for redundant servers for the purposes of performance or reliability file systems mapping portions of web space into nfs space file systems mapping portions of ftp space into nfs space control files -- write to them and something unusual happens, beyond what you might expect process files -- files and directories whose contents are interfaces to a running program cgi files -- files and directories whose contents are the output of running a program and whose names are a parameter to that program email trees -- file systems that contain incoming as well as already-filed email The basic architecture of this system, a simple event loop processing rpc requests and accessing the file system, is well suited to being opened up to include the possibility of out-of-band communications with the server, perhaps by means of special files embedded in the namespace served, or perhaps by bypassing the NFS protocol entirely. This server is free software, currently operational on Linux. It comes with some Scheme code implementing parts of the ftp client protocol and the pop3 mail client protocol. Incidentally, the number of changes to the Linux NFS server were quite small and simple. Any extension language implementation could easily be adapted for this purpose or the same approach could be taken using functions written in C. That is the primary reason for posting this message to some of the groups to which it has been posted. -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMkGkMYQRll5MupLRAQHb7AQAniXf0rZzHd9ExAxiREtGngC6Bu+RhDMX rLPfSz5BDbpyziP70ejalOCPu174hOahZfV7XnHR0cqCymNhVSnKIIe6PiiY3byS SVA74a/SQiixuI0Ehvqlu0yg1tqTtpavuw2ANdn6f+bIArUMfg2fSoMbwjNbOD6W YNrn5yQNvlY= =FV0z -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. http://www.iki.fi/liw/lasu-public-key.asc has PGP key for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION. This group is archived at http://www.iki.fi/liw/linux/cola.html