I think what u need is this: http://lwn.net/Articles/97154/ On Thu, Mar 5, 2009 at 5:27 PM, Denis Borisevich <dennisfen@xxxxxxxxx> wrote: > Hi! > > My char device is not seekable and I try to disable seeking on it > using nonseekable_open() in my open() function. But still I have > Illegal seek returned by userspace application when performing actions > on dev node connected to my device. Is there any way to _really_ > prevent llseek() to be performed on my device? > > -- > Denis > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ