From owner-freebsd-fs Sun Oct 25 07:40:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA21798 for freebsd-fs-outgoing; Sun, 25 Oct 1998 07:40:33 -0800 (PST) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from bg.sics.se (bg.sics.se [193.10.66.124]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA21793 for ; Sun, 25 Oct 1998 07:40:30 -0800 (PST) (envelope-from bg@bg.sics.se) Received: (from bg@localhost) by bg.sics.se (8.8.5/8.8.5) id QAA29902; Sun, 25 Oct 1998 16:42:17 +0100 (CET) To: Love Cc: Bjoern Groenvall , Michael Hancock , freebsd-fs@FreeBSD.ORG, kom-arla@stacken.kth.se Subject: Re: deadfs in FreeBSD 3.0/current ? References: From: Bjoern Groenvall Date: 25 Oct 1998 16:42:17 +0100 In-Reply-To: Love's message of 25 Oct 1998 16:32:28 +0100 Message-ID: Lines: 30 X-Mailer: Red Gnus v0.52/Emacs 19.34 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Love writes: > 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. In that case you better use a custom dead root vnode rather than the BSD dead vnode. /Björn -- _ _ ,_______________. Bjorn Gronvall (Björn Grönvall) /_______________/| Swedish Institute of Computer Science | || PO Box 1263, S-164 29 Kista, Sweden | Schroedingers || Email: bg@sics.se, Phone +46 -8 633 15 25 | Cat |/ Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30 `---------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message