[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: interrupting `shred -u's renaming: what should it do?
From: |
Paul Jarc |
Subject: |
Re: interrupting `shred -u's renaming: what should it do? |
Date: |
Thu, 20 May 2004 00:02:07 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
address@hidden (Bob Proulx) wrote:
> Hmm... Is there a way to rename atomically with a guarentee that it
> will fail if the target exists?
No, but atomicity isn't the problem. The problem is what to do if a
new file has appeared with the original name. Would we leave the
operand file in place with its temporary name? Then, since that case
would exist anyway, is it still worthwhile to even try to move it back
to the original name?
paul