Thomas Bushnell BSG wrote:
On Wed, 2008-08-27 at 01:56 +0200, Da Zheng wrote:
Yes, but the point here is that *you* are opening that file and
expecting something to happen. I thought you were writing the program
which would *serve* that file.
I know it's a bit confusing. Then what should I do?
If you want to serve that file, you'll be writing a trivfs translator
for it.
I'm sorry, I don't understand you.
The translator associated to the device file is actually written with
libtrivfs.
Do you mean I should implement the IO operation? so other programs can
read and write the device file to communicate with the kernel device?
but what we want is a translator that helps other programs get the port
to the device. That's it.
Zheng Da