In message <[EMAIL PROTECTED]>, 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
[EMAIL PROTECTED]               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!

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

Reply via email to