From owner-freebsd-fs@FreeBSD.ORG Tue Jul 26 21:04:48 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABF5A16A41F for ; Tue, 26 Jul 2005 21:04:48 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from mail22.sea5.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0EDF43D45 for ; Tue, 26 Jul 2005 21:04:42 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: (qmail 9262 invoked from network); 26 Jul 2005 21:04:41 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail22.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 26 Jul 2005 21:04:41 -0000 Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j6QL4c7G023611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 26 Jul 2005 17:04:39 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (195-11.customer.cloud9.net [168.100.195.11]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id j6QL4VmI075158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Jul 2005 17:04:32 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (mteterin@localhost [127.0.0.1]) by mteterin.us.murex.com (8.13.3/8.13.3) with ESMTP id j6QL4Q1D053662; Tue, 26 Jul 2005 17:04:26 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by mteterin.us.murex.com (8.13.3/8.13.3/Submit) id j6QL4OQ3053661; Tue, 26 Jul 2005 17:04:24 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: mteterin.us.murex.com: mteterin set sender to mi+mx@aldan.algebra.com using -f From: Mikhail Teterin Organization: Virtual Estates, Inc. To: stable@freebsd.org Date: Tue, 26 Jul 2005 17:04:24 -0400 User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507261704.24802.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV devel-20050525/993/Tue Jul 26 03:28:36 2005 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: freebsd-fs@freebsd.org Subject: Hang in NFS-mounted directory X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 21:04:48 -0000 I'm currently seeing an NFS-hang, which will probably cause me to reboot an otherwise happy system. A java process was overwriting files in an NFS-mounted directory, when I tried to Ctrl-C it (always worked before). The process is now hung in "nfrslk" state: load: 1.65 cmd: java 53499 [nfrslk] 0.07u 0.02s 0% 8956k An attempt at regular umount of the filesystem is hanging in "nfs" state: % umount /tmp/.a/beaker/host/beaker load: 1.33 cmd: umount 53521 [nfs] 0.00u 0.07s 0% 820k A subsequent attempt at forced umount is in "vfs_busy": % umount -f /tmp/.a/beaker/host/beaker load: 1.33 cmd: umount 53526 [vfs_busy] 0.00u 0.05s 0% 644k I have restarted the /etc/rc.d/nfslocking and /etc/rc.d/nfsclient -- no change. How can I help fix this problem? I'm using 5.4-STABLE as of July 7th. Thanks! -mi From owner-freebsd-fs@FreeBSD.ORG Wed Jul 27 22:35:49 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F89116A42B for ; Wed, 27 Jul 2005 22:35:49 +0000 (GMT) (envelope-from rick@snowhite.cis.uoguelph.ca) Received: from dargo.cs.uoguelph.ca (dargo.cs.uoguelph.ca [131.104.96.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF38843D48 for ; Wed, 27 Jul 2005 22:35:48 +0000 (GMT) (envelope-from rick@snowhite.cis.uoguelph.ca) Received: from snowhite.cis.uoguelph.ca (snowhite.cis.uoguelph.ca [131.104.48.1]) by dargo.cs.uoguelph.ca (8.13.1/8.13.1) with ESMTP id j6RMZjCD024056; Wed, 27 Jul 2005 18:35:45 -0400 Received: (from rick@localhost) by snowhite.cis.uoguelph.ca (8.9.3/8.9.3) id SAA89695; Wed, 27 Jul 2005 18:36:19 -0400 (EDT) Date: Wed, 27 Jul 2005 18:36:19 -0400 (EDT) From: rick@snowhite.cis.uoguelph.ca Message-Id: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> To: fs@freebsd.org X-Scanned-By: MIMEDefang 2.44 Cc: openbsd-nfsv4@sfobug.org Subject: NFSv234 server ported to FreeBSD6.0-BETA1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 22:35:49 -0000 In case you are interested, there is now a port of my NFSv2,3 and 4 server to FreeBSD6.0-BETA1 available at ftp://ftp.cis.uoguelph.ca/pub/nfsv4. (Look for the 2 files with FreeBSD6.0-BETA1 in the name.) It seems to work ok on a dual CPU Pentium II that I have. (I believe that I have the SMP code set up ok, but I don't wait until I'm inside the server op functions to grab Giant. It follows the nfsserver example for handling the socket interface and has separate locks for the server cache and the caches of credential mappings for RPCSEC_GSS. It should allow the encryption/decryption to be done in parallel on an N cpu box.) I think the server is about ready for public consumption now. (I don't know if anyone is interested in bringing the code into FreeBSD, but this might be a good time?) rick From owner-freebsd-fs@FreeBSD.ORG Fri Jul 29 03:22:23 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D87316A41F; Fri, 29 Jul 2005 03:22:23 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAE8443D49; Fri, 29 Jul 2005 03:22:22 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.23] (andersonbox3.centtech.com [192.168.42.23]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j6T3ML7v072396; Thu, 28 Jul 2005 22:22:21 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <42E9A0E7.40703@centtech.com> Date: Thu, 28 Jul 2005 22:22:15 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050603 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Pointers for understanding vfs/buffer/filesystem architecture X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 03:22:23 -0000 I've very interested in learning about FreeBSD's implementation of vfs/buffer cache/fs archicture. I've read through mckusick@'s chapter in the Design and Implmentation of FreeBSD book, and I've read the UNIX Filesystems book cover to cover. What I'd like to see/read/understand, is how FreeBSD in particular is put together in this regard, and then I'd like to go about writing a very very simple filesystem as a learning excercise. Can anyone give me some pointers? Would anyone be willing to guide me along in my quest by answering questions (off list if preferred, or on list), etc? Thanks in advance for the hints/input! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-fs@FreeBSD.ORG Fri Jul 29 12:02:03 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1071B16A41F for ; Fri, 29 Jul 2005 12:02:03 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD38443D58 for ; Fri, 29 Jul 2005 12:01:58 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id 7CA8A46B88; Fri, 29 Jul 2005 08:01:58 -0400 (EDT) Date: Fri, 29 Jul 2005 13:03:35 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: rick@snowhite.cis.uoguelph.ca In-Reply-To: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> Message-ID: <20050729130116.M74149@fledge.watson.org> References: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: fs@freebsd.org, openbsd-nfsv4@sfobug.org Subject: Re: NFSv234 server ported to FreeBSD6.0-BETA1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 12:02:03 -0000 On Wed, 27 Jul 2005 rick@snowhite.cis.uoguelph.ca wrote: > In case you are interested, there is now a port of my NFSv2,3 and 4 > server to FreeBSD6.0-BETA1 available at > ftp://ftp.cis.uoguelph.ca/pub/nfsv4. (Look for the 2 files with > FreeBSD6.0-BETA1 in the name.) > > It seems to work ok on a dual CPU Pentium II that I have. (I believe > that I have the SMP code set up ok, but I don't wait until I'm inside > the server op functions to grab Giant. It follows the nfsserver example > for handling the socket interface and has separate locks for the server > cache and the caches of credential mappings for RPCSEC_GSS. It should > allow the encryption/decryption to be done in parallel on an N cpu box.) > > I think the server is about ready for public consumption now. (I don't > know if anyone is interested in bringing the code into FreeBSD, but this > might be a good time?) Rick, This sounds great. I'm away this weekend, but hopefully will get a chance to start looking at this in detail in the next couple of week. What might make sense is for us to look at bring this work into FreeBSD 7 once it's seen a bit more review, with a possible merge to 6.x as it shakes out. I think we'd probably be a bit reluctant to try to get it into 6.0 given the timeline, but a merge after 6.0 goes out the door would make sense. We'll want to get Jeff Roberson in the loop on the VFS locking front, since he's running the show on the SMP VFS work. Thanks! Robert N M Watson From owner-freebsd-fs@FreeBSD.ORG Fri Jul 29 13:58:09 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0545216A41F; Fri, 29 Jul 2005 13:58:09 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from jail1-fbsd4.consiagnet.it (jail1-fbsd4.consiagnet.it [83.149.128.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8979243D45; Fri, 29 Jul 2005 13:58:07 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from [192.168.0.2] (host46-147.pool8254.interbusiness.it [82.54.147.46]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jail1-fbsd4.consiagnet.it (Postfix) with ESMTP id 6A716575D; Fri, 29 Jul 2005 15:58:14 +0200 (CEST) Message-ID: <42EA35B8.7030802@freesbie.org> Date: Fri, 29 Jul 2005 15:57:12 +0200 From: Dario Freni User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: it, it-it, en-us, en MIME-Version: 1.0 To: current@freebsd.org, fs@freebsd.org X-Enigmail-Version: 0.92.0.0 OpenPGP: url=http://www.saturnero.net/saturnero.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig38B5940E0C43E5889302ECF9" Cc: Subject: Rockridge extension not enabled when / is cd9660, boot fails X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 13:58:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig38B5940E0C43E5889302ECF9 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hi everybody, I'm trying to boot an iso image using the iso filesystem as root. After the mount phase, init exits almost immediately asking for the shell path. Copied by hand: Tying to mount root from cd9660:acd0 Jan 1 00:00:02 init: login_getclass: unknown class 'daemon' ELF interpreter /libexec/ld-elf.so.1 not found Jan 1 00:00:02 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh: /rescue/sh # /rescue/ls /libexec ld_elf_s.1 # /rescue/ls .csh boot.cat etc proc sys .pro copyrigh lib rescue tmp bin dev libexec root usr boot dist mnt sbin var # I've tried both setting boot_cdrom=YES in loader.conf and adding a row on fstab, with the same behaviour The iso was created with mkisofs: mkisofs -b boot/cdboot -no-emul-boot -J -r -ldots -V FreeSBIE -p FreeSBIE -o $PATH . I can correctly view files when mounting the iso from userland. Bye and thanks in advance, Dario -- Dario Freni (saturnero@freesbie.org) FreeSBIE developer (http://www.freesbie.org) GPG Public key at http://www.saturnero.net/saturnero.asc --------------enig38B5940E0C43E5889302ECF9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFC6jW6ymi72IiShysRAqBYAJ0fs0G6DPcG5hC6tja0pcQGW4xaQwCfSIQJ OpI5ozDI/T6lDA+wl58Y9cQ= =xLGW -----END PGP SIGNATURE----- --------------enig38B5940E0C43E5889302ECF9-- From owner-freebsd-fs@FreeBSD.ORG Sat Jul 30 03:13:38 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BB8316A41F for ; Sat, 30 Jul 2005 03:13:38 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C794843D45 for ; Sat, 30 Jul 2005 03:13:37 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j6U3DaNV019158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Jul 2005 23:13:36 -0400 Received: from obsecurity.dyndns.org (fields.fields.utoronto.ca [128.100.216.11]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j6U3DZ6P025091; Fri, 29 Jul 2005 23:13:36 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AB849511F8; Fri, 29 Jul 2005 23:13:29 -0400 (EDT) Date: Fri, 29 Jul 2005 23:13:29 -0400 From: Kris Kennaway To: rick@snowhite.cis.uoguelph.ca Message-ID: <20050730031329.GA38175@xor.obsecurity.org> References: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> User-Agent: Mutt/1.4.2.1i Cc: fs@freebsd.org, openbsd-nfsv4@sfobug.org Subject: Re: NFSv234 server ported to FreeBSD6.0-BETA1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 03:13:38 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 27, 2005 at 06:36:19PM -0400, rick@snowhite.cis.uoguelph.ca wro= te: > In case you are interested, there is now a port of my NFSv2,3 and 4 server > to FreeBSD6.0-BETA1 available at ftp://ftp.cis.uoguelph.ca/pub/nfsv4. > (Look for the 2 files with FreeBSD6.0-BETA1 in the name.) >=20 > It seems to work ok on a dual CPU Pentium II that I have. (I believe that > I have the SMP code set up ok, but I don't wait until I'm inside the > server op functions to grab Giant. It follows the nfsserver example for > handling the socket interface and has separate locks for the server cache > and the caches of credential mappings for RPCSEC_GSS. It should allow the > encryption/decryption to be done in parallel on an N cpu box.) >=20 > I think the server is about ready for public consumption now. (I don't > know if anyone is interested in bringing the code into FreeBSD, but this > might be a good time?) How does one configure the kernel as an NFS client? The kernel doesn't link when you define both options NFSD options NFSCLIENT newnfs_port.o(.data+0x400): In function `nfsrvd_rcv': =2E./../../newnfs/nfs/newnfs_port.c:228: multiple definition of `M_NFSLOCK' nfs_lock.o(.data+0x0):../../../nfsclient/nfs_lock.c:81: first defined here *** Error code 1 Kris --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC6vBZWry0BWjoQKURAnAqAKDy/W2mIRIPZpiB8ftiullcCyPaVQCfX2Ef NwsOFNVaPyjBEAxMYUQdg/c= =Twk8 -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From owner-freebsd-fs@FreeBSD.ORG Sat Jul 30 03:38:56 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC70516A41F for ; Sat, 30 Jul 2005 03:38:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CAC243D45 for ; Sat, 30 Jul 2005 03:38:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j6U3ctNV021712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Jul 2005 23:38:55 -0400 Received: from obsecurity.dyndns.org (fields.fields.utoronto.ca [128.100.216.11]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j6U3ct6P026839; Fri, 29 Jul 2005 23:38:55 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 16667515A7; Fri, 29 Jul 2005 23:38:49 -0400 (EDT) Date: Fri, 29 Jul 2005 23:38:48 -0400 From: Kris Kennaway To: rick@snowhite.cis.uoguelph.ca Message-ID: <20050730033846.GB54295@xor.obsecurity.org> References: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> User-Agent: Mutt/1.4.2.1i Cc: fs@freebsd.org, openbsd-nfsv4@sfobug.org Subject: Re: NFSv234 server ported to FreeBSD6.0-BETA1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 03:38:56 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 27, 2005 at 06:36:19PM -0400, rick@snowhite.cis.uoguelph.ca wro= te: > In case you are interested, there is now a port of my NFSv2,3 and 4 server > to FreeBSD6.0-BETA1 available at ftp://ftp.cis.uoguelph.ca/pub/nfsv4. > (Look for the 2 files with FreeBSD6.0-BETA1 in the name.) >=20 > It seems to work ok on a dual CPU Pentium II that I have. (I believe that > I have the SMP code set up ok, but I don't wait until I'm inside the > server op functions to grab Giant. It follows the nfsserver example for > handling the socket interface and has separate locks for the server cache > and the caches of credential mappings for RPCSEC_GSS. It should allow the > encryption/decryption to be done in parallel on an N cpu box.) >=20 > I think the server is about ready for public consumption now. (I don't > know if anyone is interested in bringing the code into FreeBSD, but this > might be a good time?) Also the utilities don't build properly out of the box..they need an -I to point to the headers (or there needs to be a patch to make the headers get installed by 'make includes'), and 'make install' doesn't work once you fix that. dosirak# make install install -s -o root -g wheel -m 555 newmountd usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** Error code 64 Stop in /usr/src/nfsv4utils/newmountd. Kris --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC6vZFWry0BWjoQKURAue/AKDvbYYtKMROlK/S4I0Ez8qCin4w4ACeJeHP sbIJSVYmXrkVepuPYNNW2nk= =DFhw -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- From owner-freebsd-fs@FreeBSD.ORG Sat Jul 30 04:00:06 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60DBE16A41F for ; Sat, 30 Jul 2005 04:00:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF07B43D45 for ; Sat, 30 Jul 2005 04:00:05 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j6U405NV023574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 Jul 2005 00:00:05 -0400 Received: from obsecurity.dyndns.org (fields.fields.utoronto.ca [128.100.216.11]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j6U4056P027962; Sat, 30 Jul 2005 00:00:05 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DDCE351340; Fri, 29 Jul 2005 23:59:58 -0400 (EDT) Date: Fri, 29 Jul 2005 23:59:58 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20050730035958.GA55807@xor.obsecurity.org> References: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> <20050730033846.GB54295@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <20050730033846.GB54295@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Cc: openbsd-nfsv4@sfobug.org, fs@freebsd.org, rick@snowhite.cis.uoguelph.ca Subject: Re: NFSv234 server ported to FreeBSD6.0-BETA1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 04:00:06 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 29, 2005 at 11:38:48PM -0400, Kris Kennaway wrote: > On Wed, Jul 27, 2005 at 06:36:19PM -0400, rick@snowhite.cis.uoguelph.ca w= rote: > > In case you are interested, there is now a port of my NFSv2,3 and 4 ser= ver > > to FreeBSD6.0-BETA1 available at ftp://ftp.cis.uoguelph.ca/pub/nfsv4. > > (Look for the 2 files with FreeBSD6.0-BETA1 in the name.) > >=20 > > It seems to work ok on a dual CPU Pentium II that I have. (I believe th= at > > I have the SMP code set up ok, but I don't wait until I'm inside the > > server op functions to grab Giant. It follows the nfsserver example for > > handling the socket interface and has separate locks for the server cac= he > > and the caches of credential mappings for RPCSEC_GSS. It should allow t= he > > encryption/decryption to be done in parallel on an N cpu box.) > >=20 > > I think the server is about ready for public consumption now. (I don't > > know if anyone is interested in bringing the code into FreeBSD, but this > > might be a good time?) >=20 > Also the utilities don't build properly out of the box..they need an > -I to point to the headers (or there needs to be a patch to make the > headers get installed by 'make includes'), and 'make install' doesn't > work once you fix that. >=20 > dosirak# make install > install -s -o root -g wheel -m 555 newmountd > usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 file2 > install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 ... fileN directory > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > *** Error code 64 >=20 > Stop in /usr/src/nfsv4utils/newmountd. OK, I got the server to work with a bit more hackery..there's clearly more integration needed with the FreeBSD build and /etc/rc.d process before this is ready to be committed though. I'm only using nfsv3, because I couldn't get the FreeBSD nfs4 client to talk to the server: haessal# mount_nfs4 dosirak:/c /dosirak/c mount_nfs4: /dosirak/c: Protocol not supported (nothing logged on the server), and the mount_newnfs in the utils tarball does not compile on FreeBSD. Kris --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC6vs+Wry0BWjoQKURAsZGAKCwlLDsM9lHrEbX41P/5Nsgbh2b+QCcCRVK TNWRjDEH2yl30cUtQ48pe0o= =kdNE -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1-- From owner-freebsd-fs@FreeBSD.ORG Sat Jul 30 04:04:26 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8905D16A41F for ; Sat, 30 Jul 2005 04:04:26 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 118B843D46 for ; Sat, 30 Jul 2005 04:04:25 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j6U44PNV023933 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 Jul 2005 00:04:25 -0400 Received: from obsecurity.dyndns.org (fields.fields.utoronto.ca [128.100.216.11]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j6U44P6P028166; Sat, 30 Jul 2005 00:04:25 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 92B0D51F4C; Sat, 30 Jul 2005 00:04:18 -0400 (EDT) Date: Sat, 30 Jul 2005 00:04:18 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20050730040417.GA57806@xor.obsecurity.org> References: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> <20050730033846.GB54295@xor.obsecurity.org> <20050730035958.GA55807@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <20050730035958.GA55807@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Cc: openbsd-nfsv4@sfobug.org, fs@freebsd.org, rick@snowhite.cis.uoguelph.ca Subject: Re: NFSv234 server ported to FreeBSD6.0-BETA1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 04:04:26 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 29, 2005 at 11:59:58PM -0400, Kris Kennaway wrote: > OK, I got the server to work with a bit more hackery..there's clearly > more integration needed with the FreeBSD build and /etc/rc.d process > before this is ready to be committed though. I'm only using nfsv3, > because I couldn't get the FreeBSD nfs4 client to talk to the server: >=20 > haessal# mount_nfs4 dosirak:/c /dosirak/c > mount_nfs4: /dosirak/c: Protocol not supported >=20 > (nothing logged on the server), and the mount_newnfs in the utils > tarball does not compile on FreeBSD. It died after a few seconds with: panic: lockmgr: thread 0xc5aea000, not exclusive lock holder 0xc5ab0d80 unl= ocking db> wh Tracing pid 54836 tid 100188 td 0xc5aea000 kdb_enter(c06feb5a,1,c06fd00e,f7c86980,c5aea000) at kdb_enter+0x30 panic(c06fd00e,c5aea000,c06fcff8,c5ab0d80,c5aea000) at panic+0x13e debuglockmgr(c62f8b2c,6,c62f8b6c,c5aea000,c06f8111) at debuglockmgr+0x59e vop_stdunlock(f7c86a24,f7c86a34,786,c5b2b400,c5bac0ba) at vop_stdunlock+0x4d VOP_UNLOCK_APV(c0749660,f7c86a24,2,f7c86a10,c06d6282) at VOP_UNLOCK_APV+0xb2 nfsrv_namei(c9d8de80,f7c86b7c,c62f8ad4,0,180) at nfsrv_namei+0x46b nfsrvd_lookup(c9d8de80,c9bf4880,c62f8ad4,0,f7c86c1c) at nfsrvd_lookup+0xcf nfsrvd_dorpc(c9d8de80,c9bf4880,c5aea000,6e5,0) at nfsrvd_dorpc+0x2f3 nfsrvd_nfsd(c5aea000,0,c070d4cc,33d,c5ae2cb0) at nfsrvd_nfsd+0x404 nfssvc(c5aea000,f7c86d04,8,bfbff000,2) at nfssvc+0x3a8 syscall(2806003b,2806003b,bfbf003b,2804f40b,bfbfe884) at syscall+0x295 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (155, FreeBSD ELF32, nfssvc), eip =3D 0x280ba523, esp =3D 0xbfb= fe64c, ebp =3D 0xbfbfe848 --- db> show lockedvnods does not work: db> show lockedvnods Locked vnodes panic: _mtx_lock_sleep: recursed on non-recursive mutex lockbuilder mtxpool= @ ../../../kern/kern_lock.c:542 [...] The running processes are: 60944 c5aef624 0 60936 60936 0004000 [CPU 0] cvsup 54836 c5ae2c48 0 54835 54835 0000000 [CPU 1] newnfsd db> wh 60944 Tracing pid 60944 tid 100199 td 0xc5ab0d80 ipi_nmi_handler(c56af780,f780,82e80000,c56a4818,0) at ipi_nmi_handler+0x59 trap(c5ab0008,f7c60028,f7c60028,c5877060,c5877000) at trap+0x3f Xnmi(c5877000,0,c0716b5c,56e,f7c65948) at Xnmi+0x1e siointr(c5877000,c5ab0d80,f7c65948,c053f454,4) at siointr+0x35 intr_execute_handlers(c564dc90,f7c65960,f7c659c4,c06ac0a3,34) at intr_execu= te_handlers+0xb7 lapic_handle_intr(34) at lapic_handle_intr+0x3b Xapic_isr1() at Xapic_isr1+0x33 --- interrupt, eip =3D 0xc05220ae, esp =3D 0xf7c659a4, ebp =3D 0xf7c659c4 -= -- _mtx_lock_sleep(c075fcec,c5ab0d80,0,c06fceea,a7) at _mtx_lock_sleep+0x115 _mtx_lock_flags(c075fcec,0,c06fceea,a7,c5ab0d80) at _mtx_lock_flags+0x9f debuglockmgr(c62f8b2c,6,c62f8b6c,c5ab0d80,c06f8111) at debuglockmgr+0x54 vop_stdunlock(f7c65a7c,2,c5ab0d80,c76bfe70,c62f8ad4) at vop_stdunlock+0x4d VOP_UNLOCK_APV(c0749660,f7c65a7c,c07060b0,7de,f7c65bc0) at VOP_UNLOCK_APV+0= xb2 vput(c62f8ad4,f7c65aec,f7c65ad8,c5ab0d80,17c) at vput+0xc8 lookup(f7c65b98,0,c07059b3,b4,c058b2af) at lookup+0x8f7 namei(f7c65b98,f7c65be8,60,0,c5ab0d80) at namei+0x40a kern_lstat(c5ab0d80,8231dd4,0,f7c65c6c,b47) at kern_lstat+0x4f lstat(c5ab0d80,f7c65d04,8,421,2) at lstat+0x2f syscall(bfbf003b,bfbf003b,81b003b,bfbfee70,bfbfee5c) at syscall+0x295 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (190, FreeBSD ELF32, lstat), eip =3D 0x2819a427, esp =3D 0x81db= aa0, ebp =3D 0x81dbb3c --- db> wh 54836 Tracing pid 54836 tid 100188 td 0xc5aea000 kdb_enter(c06feb5a,1,c06fd00e,f7c86980,c5aea000) at kdb_enter+0x30 panic(c06fd00e,c5aea000,c06fcff8,c5ab0d80,c5aea000) at panic+0x13e debuglockmgr(c62f8b2c,6,c62f8b6c,c5aea000,c06f8111) at debuglockmgr+0x59e vop_stdunlock(f7c86a24,f7c86a34,786,c5b2b400,c5bac0ba) at vop_stdunlock+0x4d VOP_UNLOCK_APV(c0749660,f7c86a24,2,f7c86a10,c06d6282) at VOP_UNLOCK_APV+0xb2 nfsrv_namei(c9d8de80,f7c86b7c,c62f8ad4,0,180) at nfsrv_namei+0x46b nfsrvd_lookup(c9d8de80,c9bf4880,c62f8ad4,0,f7c86c1c) at nfsrvd_lookup+0xcf nfsrvd_dorpc(c9d8de80,c9bf4880,c5aea000,6e5,0) at nfsrvd_dorpc+0x2f3 nfsrvd_nfsd(c5aea000,0,c070d4cc,33d,c5ae2cb0) at nfsrvd_nfsd+0x404 nfssvc(c5aea000,f7c86d04,8,bfbff000,2) at nfssvc+0x3a8 syscall(2806003b,2806003b,bfbf003b,2804f40b,bfbfe884) at syscall+0x295 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (155, FreeBSD ELF32, nfssvc), eip =3D 0x280ba523, esp =3D 0xbfb= fe64c, ebp =3D 0xbfbfe848 --- Kris --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC6vxBWry0BWjoQKURAoHlAJ0Tb9XIpJuVtV0g5mpwyiaEgu+lBgCfZQ7E cbLW8YtezfcV70z6Ud0QZJg= =Kkzk -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl-- From owner-freebsd-fs@FreeBSD.ORG Sat Jul 30 13:05:54 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9835116A41F; Sat, 30 Jul 2005 13:05:54 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F23FC43D45; Sat, 30 Jul 2005 13:05:53 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.2.167] (CPE-2-167.dsl.OntheNet.net [203.144.2.167]) by liberty.onthenet.com.au (8.12.9 - 20030918/8.12.9) with ESMTP id j6UD5p7v084110; Sat, 30 Jul 2005 23:05:52 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <42EB7B3E.3030308@freebsd.org> Date: Sat, 30 Jul 2005 23:06:06 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dario Freni Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, fs@freebsd.org Subject: re: Rockridge extension not enabled when / is cd9660, boot fails X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 13:05:54 -0000 Hi Dario, I've come across this too: a hack is at: http://people.freebsd.org/~grehan/cd9660_vfsops.diff ... though I think that's the wrong way to do it. I guess you and I are the only ones to ever mount cd9660 as root :) later, Peter. From owner-freebsd-fs@FreeBSD.ORG Sat Jul 30 14:34:49 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD6B216A420 for ; Sat, 30 Jul 2005 14:34:49 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: from mailserv1.neuroflux.com (ns2.neuroflux.com [204.228.228.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17E6E43D48 for ; Sat, 30 Jul 2005 14:34:48 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 3707 invoked by uid 1003); 30 Jul 2005 14:35:13 -0000 Received: from ryans@gamersimpact.com by mailserv1.neuroflux.com by uid 89 with qmail-scanner-1.22 (clamscan: 0.65. spamassassin: 2.60. Clear:RC:1(63.229.214.54):. Processed in 1.321158 secs); 30 Jul 2005 14:35:13 -0000 Received: from unknown (HELO ?192.168.0.3?) (63.229.214.54) by mailserv1.neuroflux.com with SMTP; 30 Jul 2005 14:35:12 -0000 Message-ID: <42EB9005.8080200@gamersimpact.com> Date: Sat, 30 Jul 2005 09:34:45 -0500 From: Ryan Sommers User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <42E9A0E7.40703@centtech.com> In-Reply-To: <42E9A0E7.40703@centtech.com> Content-Type: text/plain; charset=x-gbk; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Pointers for understanding vfs/buffer/filesystem architecture X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 14:34:49 -0000 Eric Anderson wrote: > I've very interested in learning about FreeBSD's implementation of > vfs/buffer cache/fs archicture. I've read through mckusick@'s chapter > in the Design and Implmentation of FreeBSD book, and I've read the UNIX > Filesystems book cover to cover. > > What I'd like to see/read/understand, is how FreeBSD in particular is > put together in this regard, and then I'd like to go about writing a > very very simple filesystem as a learning excercise. > > Can anyone give me some pointers? Would anyone be willing to guide me > along in my quest by answering questions (off list if preferred, or on > list), etc? > > Thanks in advance for the hints/input! > Eric > > Best place would be the source code itself. I think the nullfs implementation would be a good place (src/sys/fs/nullfs). I thought I also remembered some little article on writing an FS for freebsd, finding it is eluding me though. -- Ryan Sommers ryans@gamersimpact.com From owner-freebsd-fs@FreeBSD.ORG Sat Jul 30 15:24:16 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CDF916A41F; Sat, 30 Jul 2005 15:24:16 +0000 (GMT) (envelope-from www@marlena.vvi.at) Received: from marlena.vvi.at (marlena.vvi.at [208.252.225.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34B1E43D45; Sat, 30 Jul 2005 15:24:16 +0000 (GMT) (envelope-from www@marlena.vvi.at) Received: from marlena.vvi.at (localhost.marlena.vvi.at [127.0.0.1]) by marlena.vvi.at (8.12.10/8.12.9) with ESMTP id j6U6gn5m057456; Fri, 29 Jul 2005 23:42:50 -0700 (PDT) (envelope-from www@marlena.vvi.at) Received: (from www@localhost) by marlena.vvi.at (8.12.10/8.12.10/Submit) id j6U6ghCF057455; Fri, 29 Jul 2005 23:42:43 -0700 (PDT) (envelope-from www) Date: Fri, 29 Jul 2005 23:42:43 -0700 (PDT) Message-Id: <200507300642.j6U6ghCF057455@marlena.vvi.at> To: anderson@centtech.com From: "ALeine" Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Pointers for understanding vfs/buffer/filesystem architecture X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 15:24:16 -0000 Eric Anderson wrote: > I've very interested in learning about FreeBSD's implementation > of vfs/buffer cache/fs archicture. You may want to download the following graphical overview of the UFS/FFS filesystem that was made by Poul-Henning Kamp earlier this year, it's very useful: http://phk.freebsd.dk/misc/ufs.pdf If you want to print it out you'll need 18 sheets of paper. You may also want to use something like doxygen (devel/doxygen in the ports tree) to generate source code graphs and make browsing through source code easier. Another resource that you may find helpful is Robert Watson's FXR site: http://fxr.watson.org ALeine ___________________________________________________________________ WebMail FREE http://mail.austrosearch.net