On 9/12/06, Jakko Pastuchio <jakkop@xxxxxxxxx> wrote:
On 9/12/06, Rajat Jain <rajat.noida.india@xxxxxxxxx> wrote: > > hi all, > > > > I need a simple kernel<->user channel. > > > > How about sysfs? overkill. I don't want to affect filesystems. only a simple binary channel, privately used. I guess it is either Netlink or Connector or Ioctls. what do you say ? Thanks, jakko.
I believe the iSCSI project went the netlink route over a year ago. I think it is working fine for them, but you might want to ask on the linux-scsi list. If you want to get your code into the vanilla kernel I would stay away from ioctls. There is a lot of resistence to them. A lot of it is due to the difficulty of supporting variuos CPU architectures via ioctl. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/