Getting the list of IOCTLS in the kernel.

2010-06-25 1 min read Linux
Sometime back I was helping one of my friends in looking for all the IOCTLs supported by the kernel. Well we did not find the info we were looking for and thus thought to write a perl script to get all the IOCTLS supported by the kernel. Here it is, simple script to scan through the code and give you a list: #!/usr/bin/perl — @files = `grep -r ” _IO” /usr/src/redhat/SOURCES/linux-2. Continue reading