bug-coreutils
[Top][All Lists]
Advanced

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

Re: du missing files on vfat


From: Jim Meyering
Subject: Re: du missing files on vfat
Date: Wed, 12 Dec 2007 08:15:00 +0100

Eric Blake <address@hidden> wrote:
> According to Wolfram Kresse on 12/11/2007 3:45 PM:
>> 6.9.90 is working.
>> Interestingly, even the Ubuntu development version seems to still use 5.97. 
>> Is there a reason not to switch to 6.x?
>
> Nothing other than momentum - distros tend to drag their feet upgrading to
> the latest and greatest because it carries the risk of encountering
> regressions from a known (albeit possibly buggy) baseline.
>
>> Were other core utils affected by this problem, or was "du" the only one?
>
> All of the coreutils that perform directory recursion - ls, du, rm, chmod,
> ..., because they all share the same recursion code.

It'd be nice if ls were to use fts.
And maybe not so nice if rm did:

The underlying code that changed was in lib/fts.c.
- du, chmod, chown, chgrp, and the new chcon use fts.
- ls and cp use explicit recursion (bad: fixing them to use fts is
    on the todo list; someone is working on converting cp right now)
- rm uses its own code, which is pretty hairy, but more efficient than
    an implementation using fts




reply via email to

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