From owner-freebsd-fs Sun Oct 25 07:33:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA20984 for freebsd-fs-outgoing; Sun, 25 Oct 1998 07:33:12 -0800 (PST) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from elixir.e.kth.se (elixir.e.kth.se [130.237.48.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA20976 for ; Sun, 25 Oct 1998 07:33:09 -0800 (PST) (envelope-from lha@s3.kth.se) Received: from zinfandel.e.kth.se (1073744992@zinfandel.e.kth.se [130.237.48.172]) by elixir.e.kth.se (8.8.7/8.8.7) with ESMTP id QAA23770; Sun, 25 Oct 1998 16:32:28 +0100 (MET) Received: (lha@localhost) by zinfandel.e.kth.se (8.8.7/8.6.6) id QAA25420; Sun, 25 Oct 1998 16:32:28 +0100 (MET) To: Bjoern Groenvall Cc: Michael Hancock , freebsd-fs@FreeBSD.ORG, kom-arla@stacken.kth.se Subject: Re: deadfs in FreeBSD 3.0/current ? References: From: Love Date: 25 Oct 1998 16:32:28 +0100 In-Reply-To: Bjoern Groenvall's message of 25 Oct 1998 16:27:25 +0100 Message-ID: Lines: 17 X-Mailer: Gnus v5.5/Emacs 20.2 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bjoern Groenvall writes: > Love writes: > > > Should we bake our own dead_vnodeops_p that is really dead vnodes ? > > In the evil old days when I wrote xfs; dead vnodes was only used to be > able to unmount xfs when there was no user space daemon running. Is it > still required to have a root vnode to be able to unmount? If not, you > no longer need that hack, it's enough to have xfs_root fail. unmount() still does a lookup on the name and expects there to be no errors and the vnodes it gets back to be a VROOT. So dead vnodes are still needed. Love To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message