[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Huge bug in mv 4.1.11 (i386)
From: |
James Youngman |
Subject: |
Re: Huge bug in mv 4.1.11 (i386) |
Date: |
Wed, 9 May 2007 13:09:54 +0100 |
On 5/9/07, Stephane Asco'et <address@hidden> wrote:
Thus, a solution MUST be found. Why not checking the
space left before starting to move something?
Because a successful check before you start is not a guarantee that
the process can complete successfully. In the general case, there
will be other users of that {quota,filesystem}.
But, IFF mv is already planning to return an nonzero exit status, and
it has not deleted a source file, and mv knows that the target file is
not yet complete, it should probably indeed unlink the target file.
James.