Looking in /proc most other "kernel generated files" for example
/proc/interrupts or /proc/mdstat also have 0 filesizes.






On Wed, Aug 29, 2012 at 12:28 AM, Tom Kuiper <[email protected]> wrote:

> On 08/28/2012 03:11 PM, Tom Kuiper wrote:
>
>> I have the feeling that the file length going to zero on a simple write
>> is unintended and been lurking in the borph code since no one ever tried
>> such a simple OS-level write.  I'm guessing that the file pointer, which is
>> reset to zero before the write, is not advanced after the write.
>>
> Well, scratch that idea.  The file pointer is definitely 4 before I close
> the file.
>
> Tom
>
>


-- 
*Adam Barta*
c: +27 72 105 8611
e: [email protected]
w: www.ska.ac.za

Reply via email to