[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hard-links provoke EIO and EBADF errors in rm
From: |
Jim Meyering |
Subject: |
hard-links provoke EIO and EBADF errors in rm |
Date: |
Fri, 29 Sep 2006 19:29:51 +0200 |
Bruno Haible <address@hidden> wrote:
>> You mean you've found *another* problem with GNU rm?
>> Is so, please provide details.
Hi Bruno,
This is a bug, but it's not in GNU rm.
I'm not even going to try to work around it before coreutils-6.3.
Given all of the O/S bugs exposed by coreutils' test suite, users
of Darwin 7.9.0 should be rushing to upgrade, if at all possible.
> The second bug is harder to reproduce.
> I have a big tar file with hard links in it.
...
> I unpack it on a HFS+ volume:
> $ tar xvf cross-hppa.tar
>
> Then I unmount the volume on the MacOS X machine and mount it again.
> (Alternatively, it appears that waiting a few hours has the same effect.)
>
> Then I try to remove the tree from a Linux machine, via a NFS mount:
>
> $ uname -a
> Linux linuix 2.4.21-99-default #1 Wed Sep 24 13:30:51 UTC 2003 i686 GNU/Linux
> $ rm -r cross
> rm: cannot remove directory `cross/hppa-linux/bin': Directory not empty
> ...
> [After 15 more attempts, to empty the directories that can be emptied:]
> $ rm -r cross
> rm: cannot remove `cross/hppa-linux-tools/bin/hppa-linux-ar': Input/output
> error
Yes, that's a lot harder to reproduce.
Thanks for all of the details.
- Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), (continued)
- Re: [bug-gnulib] Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), Bruno Haible, 2006/09/27
- Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), Jim Meyering, 2006/09/27
- Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), Jim Meyering, 2006/09/27
- Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), Jim Meyering, 2006/09/27
- Re: [bug-gnulib] Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), Bruno Haible, 2006/09/27
- Re: [bug-gnulib] Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), Bruno Haible, 2006/09/28
- Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), Jim Meyering, 2006/09/28
- Re: coreutils-6.2: bug with Darwin 7.9.0 HFS+ and NFS, Bruno Haible, 2006/09/29
- hard-links provoke EIO and EBADF errors in rm,
Jim Meyering <=
- GNU rm now works around Darwin 0.7.9 (MaxOS X 10.3.9) readdir bug, Jim Meyering, 2006/09/29
- Re: GNU rm now works around Darwin 0.7.9 (MaxOS X 10.3.9) readdir bug, Bruno Haible, 2006/09/29
- Re: GNU rm now works around Darwin 0.7.9 (MaxOS X 10.3.9) readdir bug, Jim Meyering, 2006/09/29
- Re: [bug-gnulib] Re: GNU rm now works around Darwin 0.7.9 (MaxOS X 10.3.9) readdir bug, Bruno Haible, 2006/09/29
- really fixed, this time [Re: GNU rm now works around Darwin 0.7.9 (MaxOS X 10.3.9) readdir bug, Jim Meyering, 2006/09/29
- Re: Darwin HFS+ bug, Bruno Haible, 2006/09/26
- Re: Darwin HFS+ bug, Jim Meyering, 2006/09/26
- Re: Darwin HFS+ bug, Paul Eggert, 2006/09/26
- Re: Darwin HFS+ bug, Jim Meyering, 2006/09/27
- Message not available
- Re: Darwin HFS+ bug, Paul Eggert, 2006/09/27