Skip site navigation (1)Skip section navigation (2)
Date:      25 Oct 1998 16:42:17 +0100
From:      Bjoern Groenvall <bg@sics.se>
To:        Love <lha@e.kth.se>
Cc:        Bjoern Groenvall <bg@sics.se>, Michael Hancock <michaelh@cet.co.jp>, freebsd-fs@FreeBSD.ORG, kom-arla@stacken.kth.se
Subject:   Re: deadfs in FreeBSD 3.0/current ?
Message-ID:  <wuzpakps12.fsf@bg.sics.se>
In-Reply-To: Love's message of 25 Oct 1998 16:32:28 %2B0100
References:  <Pine.BSF.3.95LJ1.1b3.981025202548.1224A-100000@sv01.cet.co.jp> <amiuh867zl.fsf@zinfandel.e.kth.se> <wu1znwr7aa.fsf@bg.sics.se> <amogr04pyr.fsf@zinfandel.e.kth.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Love <lha@e.kth.se> writes:

> Bjoern Groenvall <bg@sics.se> writes:
> 
> > Love <lha@e.kth.se> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wuzpakps12.fsf>