From owner-freebsd-current Fri Aug 20 23:34:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id BA01814F29 for ; Fri, 20 Aug 1999 23:34:35 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id IAA11222; Sat, 21 Aug 1999 08:31:55 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: John Birrell Cc: Luigi Rizzo , Andrew Atrens , current@FreeBSD.ORG Subject: Re: problem with vnconfig -s labels ... In-reply-to: Your message of "Sat, 21 Aug 1999 16:04:04 +1000." <19990821160404.B281@freebsd1.cimlogic.com.au> Date: Sat, 21 Aug 1999 08:31:55 +0200 Message-ID: <11220.935217115@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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