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 - [EMAIL PROTECTED]; [EMAIL PROTECTED] http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to