Re: Userspace <=> Kernel communication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 28, 2002 at 05:04:09PM +0100, Luka Renko wrote:
> 
> Is there any other option I can use?

Create a filesystem.  Look at the drivers/hotplug/pci_hotplug_core.c
file in the 2.4 tree for an example of how to do this (creates a pcihpfs
filesystem).

For 2.5, look at the usbfs/usbdevfs code in drivers/usb/inode.c, or the
driverfs code at fs/driverfs/inode.c for other examples of very simple
code to implement a filesystem.

Hope this helps,

greg k-h
--
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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux