On 5/9/07, SteŽphane Asco'et <[EMAIL PROTECTED]> 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.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to