Accessing file from drivers

From
<hidden>
Date
2001-03-15 12:56:43
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/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help