|
From: | Da Zheng |
Subject: | Re: Some questions about libports and notification of ports |
Date: | Wed, 27 Aug 2008 03:38:17 +0200 |
User-agent: | Thunderbird 2.0.0.16 (Macintosh/20080707) |
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 translatorfor 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
[Prev in Thread] | Current Thread | [Next in Thread] |