From owner-freebsd-fs Sat Nov 6 2:49: 2 1999 Delivered-To: freebsd-fs@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 5D98914C40 for ; Sat, 6 Nov 1999 02:49:01 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id CAA38753; Sat, 6 Nov 1999 02:48:43 -0800 (PST) Date: Sat, 6 Nov 1999 02:48:42 -0800 (PST) From: Julian Elischer To: Jan Pechanec Cc: Erez Zadok , Robert Watson , freebsd-fs@FreeBSD.ORG Subject: Re: stupidfs - easily extensible test file systems? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 5 Nov 1999, Jan Pechanec wrote: > > BTW, don't you know why deadfs was written? No doc in FreeBSD. > From what I saw in the source code, operations just fail. > When youhave a vnode open, and for some reason the filesystem the vmode pints to disappears (e.g. the disk is removed, or the PC-CARD is removed, or many other posibilties), then you cannot track down all teh users fo that vnode very easily, so insteadm you 'fiddle' with it to make it reference the DEADFS (use VGONE) and when the users try use it again they will safely get an error, but at least the system will not core-dump when they access a non existant filesyste,/device. julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message