[REBOL] Re: Multiuser database
From: petr::krenzelok::trz::cz at: 20-Mar-2006 23:38
Gabriele Santilli wrote:
>On Monday, March 20, 2006, 1:03:20 PM, you wrote:
>PK> The trouble is, that my linux friend claims, that this method is not
>PK> safe under linux. I don't know, I haven't tried, but I am curious. He
>PK> told me, that even if I have file opened, other process may succeed in
>PK> deleting it, which seems a bit strange to me :-)
>Indeed, you can unlink open files on Unix; and that's not too
>strange, as unlinking a file does not mean destroying it. It just
>isn't referenced by the directory structure anymore.
>The space on disk is actually feed only when there are no more
>references to it and no processes have an handle to it.
OK, I don't understand what you mean. So please, when I open
%some-file.lock, can another process delete it or not?