[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unlink or kernel error?

>>>>> "Lehel" == Lehel Bernadt <blehel@kabelkon.ro> writes:

    Lehel> The thing that happens is that the file name is deleted
    Lehel> from the directory, but its inode is kept until the program
    Lehel> closes the descriptor.

Yes. Now for some really weird behaviour, try the same thing program
on NFS (and use ls -a to show files starting with a period).

NFS doesn't support the same mechanism Unix does for this "feature",
so it has to be hacked in. Different OS are slightly different in how
they behave here (eg some OSs allow you to delete the "deleted" file,
others don't), so experiment!
Brian May <bam@debian.org>

Reply to: