[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: du reports different results for "." (proposed patch)
From: |
Paul Eggert |
Subject: |
Re: du reports different results for "." (proposed patch) |
Date: |
Fri, 29 Feb 2008 15:41:46 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Andreas Schwab <address@hidden> writes:
> I just checked various *BSD manpages, and they explicitly say to count
> hard links only once per invocation, so it is probably better to stay
> compatible here. (POSIX is not that clear in this point, but it appears
> to be a valid interpretation.)
Solaris 'du' does things the old-fashioned way, and resets the link
counters after every command-line argument. I think it's better to be
compatible with BSD, though. For one thing, you can easily simulate
the Solaris functionality with the BSD functionality (simply by
invoking du once for each argument), but the reverse is not true.
- Re: du reports different results for ".", (continued)
- Re: du reports different results for ".", Bauke Jan Douma, 2008/02/20
- Re: du reports different results for ".", Mike Frysinger, 2008/02/20
- Re: du reports different results for ".", Bauke Jan Douma, 2008/02/20
- Re: du reports different results for "." (proposed patch), Paul Eggert, 2008/02/20
- Re: du reports different results for "." (proposed patch), Bob Proulx, 2008/02/20
- Re: du reports different results for "." (proposed patch), Andreas Schwab, 2008/02/21
- Re: du reports different results for "." (proposed patch), Jim Meyering, 2008/02/21
- Re: du reports different results for "." (proposed patch), Jim Meyering, 2008/02/21
- Re: du reports different results for "." (proposed patch), Andreas Schwab, 2008/02/21
- Re: du reports different results for "." (proposed patch), Andreas Schwab, 2008/02/21
- Re: du reports different results for "." (proposed patch),
Paul Eggert <=
- Re: du reports different results for "." (proposed patch), Jim Meyering, 2008/02/21
Re: du reports different results for ".", Bob Proulx, 2008/02/20
du reports different results for ".", Richard Ems, 2008/02/20