From owner-freebsd-hackers Sun Oct 6 11:43:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA04144 for hackers-outgoing; Sun, 6 Oct 1996 11:43:30 -0700 (PDT) Received: from mailhost.coppe.ufrj.br (root@cisigw.coppe.ufrj.br [146.164.2.31]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA04139 for ; Sun, 6 Oct 1996 11:43:27 -0700 (PDT) Received: (from jonny@localhost) by mailhost.coppe.ufrj.br (8.7.5/8.7.3) id QAA05809; Sun, 6 Oct 1996 16:43:09 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199610061843.QAA05809@mailhost.coppe.ufrj.br> Subject: Re: nullfs: Panicing... To: adam@veda.is (Adam David) Date: Sun, 6 Oct 1996 16:43:09 -0200 (EDT) Cc: jonny@mailhost.coppe.ufrj.br, freebsd-hackers@freebsd.org In-Reply-To: <199610061507.PAA04362@veda.is> from Adam David at "Oct 6, 96 03:07:26 pm" X-Mailer: ELM [version 2.4ME+ PL14 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk #define quoting(Adam David) // > I want to make parts of a file system available to anon ftp, whose // >chrooted directory is located at another file system. My first // >approach was to use nullfs, but everytime I try to edit (vi) // >a file in the nullfs mounted directory, the system panics. Everything // >else works (or seens to work) ok. // // > I already had problems with vi and nullfs in NetBSD, caused by the // >mmap nature of vi. Maybe this is the case, too. // // > This problem happens at 2.1.0 and 2.1.5 releases. Does not matter // >if the nullfs is mounted read-only or if vi is called in the its read- // >only from (view). // // Probably mmap then, since read-only access typically worked already otherwise. // // >PS: I'm now using NFS to localhost, as a workaround. // // I had to abandon this approach and use symlinks instead, once the directory // had outgrown a certain size. Perhaps there is no longer any such size limit, // but I don't have the stomach at the moment to risk it. I cannot symlink to anon ftp. It's chrooted, remember ? :) // // -- // Adam David // Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 ( Job ) jonny@cisi.coppe.ufrj.br Network Manager UFRJ/COPPE/CISI Universidade Federal do Rio de Janeiro