[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU_TMPDIR temp folder for KQEMU for Windows.
From: |
Doctor Bill |
Subject: |
Re: [Qemu-devel] QEMU_TMPDIR temp folder for KQEMU for Windows. |
Date: |
Sat, 3 Sep 2005 13:35:29 -0400 |
On 9/3/05, ace <address@hidden> 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