tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: maj, min from device name

David Young wrote:
>>    For wd*, finddevice() (found in sys/kern/kern_subr.c) can be used --
>> but it appears that cgd* aren't listed in alldevs, so it returns NULL.
> I think that you're right, cgd(4) does not appear in alldevs.  It
> should.  I wrote this patch for -current.  It compiles, but I haven't
> tested it.  Can you give it a try and let me know?

   Perfect -- I'll see if I can try it tomorrow.

Kind regards,
Jan Danielsson

Attachment: signature.asc
Description: OpenPGP digital signature

Home | Main Index | Thread Index | Old Index