Date: Sat, 21 Aug 1999 16:04:04 +1000 From: John Birrell <jb@cimlogic.com.au> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: John Birrell <jb@cimlogic.com.au>, Luigi Rizzo <luigi@labinfo.iet.unipi.it>, Andrew Atrens <atrens@nortelnetworks.com>, current@FreeBSD.ORG Subject: Re: problem with vnconfig -s labels ... Message-ID: <19990821160404.B281@freebsd1.cimlogic.com.au> In-Reply-To: <11056.935213446@critter.freebsd.dk>; from Poul-Henning Kamp on Sat, Aug 21, 1999 at 07:30:46AM %2B0200 References: <19990821151141.A281@freebsd1.cimlogic.com.au> <11056.935213446@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 21, 1999 at 07:30:46AM +0200, Poul-Henning Kamp wrote: > >but I'm still looking for the place > >where the dev1 entry is supposed to be initialised. > > In dkmodslice() (and friends). Hmmm, I know this is your code, but are you sure? 8-). My understanding of dkmodslice() and friends is that they manipulate dev_t entries, but don't actually initialise them. Since the subr_diskslice code takes a dev_t and goes off and accesses the raw partition entry, my guess is that vnopen() should check if the raw entry has been initialised, and if not do it, just like it does for the one you open. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990821160404.B281>