bug-coreutils
[Top][All Lists]
Advanced

[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.




reply via email to

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