Hello, > 3. /proc files > This one seems nice, because you can create /proc entries when you need them > and with good naming scheme, userspace can just open the correct filename. > There is no real limitation in the number of devices I can create (AFAIK). I > am however not sure how this communication through /proc compares with > character device files (option 1 or 2) - can I expect same performance as > from char device? Yes. You can fill in the inode operations of a proc entry any way you like. Thus there may even be one less indirection than for device (where device inode operations are generic and look up your functions in device table). -------------------------------------------------------------------------------- - Jan Hudec `Bulb' <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/