tech-kern archive

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

Re: pass-through linux ioctl for mfi(4)



On Mon, Sep 17, 2012 at 02:31:35PM -0400, Christos Zoulas wrote:
> On Sep 17,  6:08pm, bouyer%antioche.eu.org@localhost (Manuel Bouyer) wrote:
> -- Subject: Re: pass-through linux ioctl for mfi(4)
> 
> | Sorry but I can't see how a kernel with COMPAT_LINUX but without
> | mfi would compile.
> 
> You you get the major by name using "mfi"...

I was talking about Robert's solution, which needs the mfiioctl address.

I looked a bit at this and it's really not straitforward. We need to
get the vp to have the informations we need, so we're basically re-writing
some of sys/kern's code ...
Do you have a better way to get the file's type and major ?


-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index