Accessing file from drivers
Wolfgang Denk
wd at denx.de
Fri Mar 16 01:04:31 EST 2001
In message <Pine.LNX.4.21.0103151822090.9108-100000 at localhost.localdomain> you wrote:
>
> Is it possible to read and write to files (say /etc/xyz)
> in a device driver without resorting to user space? I want
You do not want to do this. It's bad design. Implement an ioctl() for
the configuration, and use that.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"Send lawyers, guns and money..." - Lyrics from a Warren Zevon song
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list