bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils fails on check for "mv": FAIL: no-target-dir


From: Paul Eggert
Subject: Re: coreutils fails on check for "mv": FAIL: no-target-dir
Date: Wed, 16 Aug 2006 14:20:59 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Jared Martin" <address@hidden> writes:

> rename("d", "empty")                    = -1 EBUSY (Device or resource busy)

This appears to be the problem: the rename() system call doesn't work
on your Red Hat box, if the destination is an empty directory.

What sort of file system are you building in?  NFS?  tmpfs?

I'm going to take a wild guess and say that your kernel has the bug
fixed by this patch, and that you need to ask Red Hat to backport the
fix into your kernel:

http://www.linux-nfs.org/Linux-2.6.x/2.6.14-rc5/linux-2.6.14-56-fix_rename.dif

I don't see an easy way to work around the bug at the coreutils level,
since EBUSY is a valid errno if the directory is indeed busy.

I suppose we could skip the test, though, if it's on an NFS file
system.  Can you please verify whether you're using NFS?




reply via email to

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