Accessing file from drivers

gopi at tejasnetworks.com gopi at tejasnetworks.com
Thu Mar 15 23:56:43 EST 2001


Hi..

  Is it possible to read and write to files (say /etc/xyz)
in a device driver without resorting to user space?  I want
to read the config info stored in a file and program few
devices according to that.

fops->read method does a copy to the user space, so I guess, getting
filp with a filp_open and then filp->fops->read wouldn't help.

gopi


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/






More information about the Linuxppc-dev mailing list