Messages in this thread | | | Date | Fri, 17 Dec 2004 15:48:54 -0800 | From | Greg KH <> | Subject | Re: ioctl assignment strategy? |
| |
On Wed, Dec 15, 2004 at 08:53:46AM -0600, Chris Friesen wrote: > Greg KH wrote: > > >Minor one coming, why do you want to use an ioctl? ioctls are generally > >frowned upon these days, and trying to add a new one is a tough and > >arduous process, that is not for the weak, or faint of heart. > > Just curious--what other options would you suggest for arbitrary char > devices to allow for control that doesn't fit nicely into the read/write > paradigm?
Rethink the way you want to control your device. Seriously, a lot of ioctls can be broken down into single device files, single sysfs files, or other such things (a whole new fs as a last resort too.)
So, what does your ioctls do?
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |