> Take a look at the pcihpfs code in drivers/hotplug/pci_core.c for an > example of a device driver that uses a filesystem to interact with > userspace. > > The code in there is based on ddfs/driverfs (which is now in 2.5.1-pre5) > and the ramfs code. [mohan] i searched through lxr.linux.no. i could not find drivers/hotplug/pci_core.c. is it availabe only on 2.5.1-pre5 kernel. -- 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/