On 9/3/05, ace <[EMAIL PROTECTED]> wrote:
> Hi.
> 2. you say you can't see the temporary file. Neither do I, on linux. I
> suspect it is not hidden using plain filesystem attributes. On linux, if
> you open a file and then delete (unlink) it, you can still work with it
> until you hold the file descriptor. Only when you close the file, it is
> removed from disk. But as soon as you unlink it, all referrences to it
> are removed from the filesystem hierarchy. Therefore, no other program
> (e.g. dir, ls) except the filesystem kernel driver knows about it. You
> see no file, but something is still using up disk space (if you use
> programs to show free disk space). Maybe Windows supports this too.

98% correct.  In linux you can still access open unlinked files from
other processes if you know the process id and fileno.  A link is
maintained in the proc filesystem.  Some consider this a security
hole, others consider it a very useful feature.

Bill


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to