using ioctls (was: RE: Larger dev_t)

Dunlap, Randy (randy.dunlap@intel.com)
Sat, 31 Mar 2001 09:53:39 -0800


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/