Re: ioctl assignment strategy?
From: Greg KH
Date: Fri Dec 17 2004 - 18:52:27 EST
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
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?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/