[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Darwin HFS+ bug
From: |
Paul Eggert |
Subject: |
Re: Darwin HFS+ bug |
Date: |
Tue, 26 Sep 2006 16:42:13 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> CONSECUTIVE_READDIR_UNLINK_THRESHOLD = 200
I looked into this a bit, and found myself wondering: why does 'rm'
need to have this constant? Could rm do the rough equivalent of
savedir on the directory (copying its file names and perhaps types
into main memory), and then walk through the in-memory copy of the
directory?
Such an approach would take more memory, but the extra memory should
be acceptable these days. Also, this approach would walk through the
directory twice, but in the normal case this wouldn't hurt performance
much, and it might even help performance.
An advantage of this approach is that we wouldn't need these fudge
factors for buggy file systems.
- Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), (continued)
- 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 <=
- Re: Darwin HFS+ bug, Jim Meyering, 2006/09/27
- Message not available
- Re: Darwin HFS+ bug, Paul Eggert, 2006/09/27
- Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time), Jim Meyering, 2006/09/26
- Message not available
- Re: now getting a build error with coreutils-cvs (Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time)), Jim Meyering, 2006/09/26
- Message not available
- Re: coreutils-cvs build error fixed (Re: now getting a build error with coreutils-cvs (Re: coreutils-6.2: various runtime problems on Darwin-8.7.0 HFS+ (including attachment this time))), Paul Eggert, 2006/09/27
- Message not available
- OT: latest stable version not recommended (was: coreutils-cvs build error fixed), Bob Proulx, 2006/09/27
- Message not available
- Re: OT: latest stable version not recommended, Paul Eggert, 2006/09/27
- Message not available
- Re: cvs build error with Apple-installed tools (Re: OT: latest stable version not recommended), Paul Eggert, 2006/09/27
- Message not available
- Re: cvs build error with Apple-installed tools (Re: OT: latest stable version not recommended), Paul Eggert, 2006/09/28
- Message not available
- Re: cvs build error with Apple-installed tools (Re: OT: latest stable version not recommended), Bob Proulx, 2006/09/28