bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-6.6 check failures on Itanium Linux


From: Bob Proulx
Subject: Re: coreutils-6.6 check failures on Itanium Linux
Date: Tue, 28 Nov 2006 01:00:03 -0700
User-agent: Mutt/1.5.9i

Bob Proulx wrote:
> Yes, both an error but different errors.  Can you reproduce the error
> from the command line?  It would probably make further debugging
> easier.

I was able to find an ia64 machine running an old 2.4.19 kernel.  Not
quite the same but I was able to reproduce the problem there.

>   mkdir -p a/t b/t
>   touch a/t/f
>   strace -e file $builddir/src/mv b/t a

  rename("b/t", "a/t")                    = -1 ENOTEMPTY (Directory not empty)

> I think this problem will simply be one of kernel error message
> differences in the different kernel versions.

Yep.

> That seems really strange.  If I read that right it collapses to a
> very simple thing that should not be failing.
> 
>   mkdir -p d/sub empty
>   $builddir/src/mv -fT d empty
>   strace -e file $builddir/src/mv -fT d empty

Strace on linux-2.4.19 on an ext3 filesystem shows this:

  rename("d", "empty")                    = -1 ENOTEMPTY (Directory not empty)

While on linux-2.6.12:

  rename("d", "empty")                    = 0

Bob




reply via email to

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