2001-03-31 17:54:58

by Dunlap, Randy

[permalink] [raw]
Subject: using ioctls (was: RE: Larger dev_t)

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:[email protected]]
>
...
> 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.