using ioctls (was: RE: Larger dev_t)

From: Dunlap, Randy (randy.dunlap@intel.com)
Date: Sat Mar 31 2001 - 12:53:39 EST


Hi-

Tangential question (I think). Not for an IOCTL request 8;)
[as the JFS request last week].

[When] is it OK to use (new) IOCTLs vs. using procfs read/write?

And are there some alternative methods besides these two?

Thanks,
~Randy

> -----Original Message-----
> From: Linus Torvalds [mailto:torvalds@transmeta.com]
>
...
> We should encourage people to not need major numbers. It's easy. The
> driver exports a /proc entry in /proc/driver/xxx or similar . Or the
> driver writer says "if you want to use this device, use devfs", and
> exports the name there.

-
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/



This archive was generated by hypermail 2b29 : Sat Mar 31 2001 - 21:00:24 EST