Date: Sat, 21 Aug 1999 08:31:55 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: John Birrell <jb@cimlogic.com.au> Cc: Luigi Rizzo <luigi@labinfo.iet.unipi.it>, Andrew Atrens <atrens@nortelnetworks.com>, current@FreeBSD.ORG Subject: Re: problem with vnconfig -s labels ... Message-ID: <11220.935217115@critter.freebsd.dk> In-Reply-To: Your message of "Sat, 21 Aug 1999 16:04:04 %2B1000." <19990821160404.B281@freebsd1.cimlogic.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <19990821160404.B281@freebsd1.cimlogic.com.au>, John Birrell writes: >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. That could be done too. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! 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?11220.935217115>