On Mon, Sep 17, 2012 at 02:31:35PM -0400, Christos Zoulas wrote: > On Sep 17, 6:08pm, [email protected] (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 <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --
