Calvin Smith wrote:
> 
> you want me to overwrite an open file?  does not sound right...


Yes.  Sector reads are driven by lseek().  Writing to an open
file is no problem, as the next request will lseek() to the
proper sector address within the new file.

This is quite similar to replacing a floppy, in an open
device file.

-Kevin

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton                        [EMAIL PROTECTED]
MandrakeSoft, Inc.                  Plex86 developer
http://www.linux-mandrake.com/      http://www.plex86.org/

Reply via email to