hendrik writes:
> I thought that a deleted file that was still being read *was* unlinked
> from the directory, just not removed from the disk until it was closed.

The directory entry is deleted and the link count is decremented when the
file is deleted from the directory.  When the file was opened the link
count was incremented, so this does not bring it to zero.  When the file is
closed the link count is decremented.  If this brings the link count to
zero the file is deleted.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to