bug-coreutils
[Top][All Lists]
Advanced

[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: Wed, 19 May 2004 12:17:25 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

address@hidden (Bob Proulx) wrote:
> Since shred was interrupted, was unable to shred the file, I think it
> should return the file to the previous name.

I was going to suggest that as well, but what if a new file has
appeared with the original name?  shred could use link+unlink instead
of rename to avoid clobbering the new file, but then what to do if
link fails because a new file is there?  It may be more trouble than
it's worth.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]