Andreas Schwab <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Bob Proulx) writes: > >> Fun how the total directory size just keeps getting smaller and >> smaller. With enough hard links the directory has disappeared! I >> will add this to my list of stupid filesystem tricks. >> >> This doesn't seem a particularly satisfying result as it doesn't seem >> like a reasonable outcome. > > Perhaps we should reset the list of encountered hard links with every > file argument?
du used to do that in some cases, but I changed it a few years ago: http://thread.gmane.org/gmane.comp.gnu.fileutils.bugs/881 http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=ca6d256f125ea496cdb059a201f92f77f1ce0c69 --count-links makes it count *all* hard links, even the ones in the same command-line-specified directory. If people think this is important/useful enough it might deserve a new option. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils