Re: bsd/linux ioctl.

2011-04-26 Thread Alexander Leidinger
Quoting Julian Elischer jul...@freebsd.org (from Fri, 22 Apr 2011 18:28:06 -0700): [linux ioctl compatibility] So my first question is is this hack commonly known? and secondly should we clean it up and put it in an ioctl(9) man page? We should probably have such a page. Do we have a

bsd/linux ioctl.

2011-04-22 Thread Julian Elischer
So at work (fusion-io) we have a driver that runs on lots of OS, including FreeBSD (hint: ask your fio sales rep, it's not on the website!). But as usual the BSD way of doing the copy in and out of user space caused lots of grief. Then suddenly I heard it was solved and I thought nothing