From owner-freebsd-fs Thu Aug 13 08:38:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13982 for freebsd-fs-outgoing; Thu, 13 Aug 1998 08:38:06 -0700 (PDT) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from gatewaya.anheuser-busch.com (gatewaya.anheuser-busch.com [151.145.250.252]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA13913 for ; Thu, 13 Aug 1998 08:37:52 -0700 (PDT) (envelope-from Matthew.Alton@anheuser-busch.com) Received: by gatewaya.anheuser-busch.com; id KAA24138; Thu, 13 Aug 1998 10:34:45 -0500 Received: from stlabcexg004.anheuser-busch.com(stlabcexg004 151.145.101.160) by gatewaya via smap (V2.1) id xma024111; Thu, 13 Aug 98 10:34:16 -0500 Received: by stlabcexg004.anheuser-busch.com with Internet Mail Service (5.5.1960.3) id ; Thu, 13 Aug 1998 16:36:08 +0100 Message-ID: <31B3F0BF1C40D11192A700805FD48BF901776634@STLABCEXG011> From: "Alton, Matthew" To: "'FreeBSD-fs@FreeBSD.ORG'" Subject: LFS Hacking Date: Thu, 13 Aug 1998 16:36:10 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What function call is used in the kernel to syncronously write data to a disk? I mean really actually write it and change the polarity in the little magnetic domains and everything such that I may assume that the data is ON THE DISK when the call returns success. How should I impliment "callback" in the kernel buffer cache flushing mechanism so that the vm dosn't interfere with my write scheduling? I need to know how to properly register a filesystem with the kernel at boot time and how to register vm operations including union-of-set-preserving NOOPs and how to "intercept" vm-issued fsyncs and whatever else. A sort of pseudocode stack-trace of the whole shebang from userland write(2) to data-on-the-disk would be wonderful. What are we using instead of SYSV FSS-switch? Once I get all this sorted out, I plan to write up a nice, pretty FS Hacker's Guide for the Handbook. Please feel free to carry on at length about any and all FS implementation particulars. I will give you credit in the Guide. Matthew Alton Computer Services - UNIX Systems Administration (314)632-6644 matthew.alton@anheuser-busch.com alton@plantnet.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message