bug-fileutils
[Top][All Lists]
Advanced

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

the files listed with du -a do not match ls -R, possible bug?


From: Aaron Wegner
Subject: the files listed with du -a do not match ls -R, possible bug?
Date: Thu, 15 Aug 2002 13:59:06 -0500
User-agent: KMail/1.4.1

I think I found what may be a bug in the du program.  So far I have only been 
able to observe this anomaly in my build directory for glibc.  The bug is 
uncovered with the following commands, issued from the base of the build 
directory:
--------------------------------------
# ls -lR | grep '\.op$' | awk '{printf("%s\n", $NF)}' | sort > ls_c_files

# du -a . | grep '\.op$' | awk 'BEGIN {FS="[\/]"} {printf("%s\n", $NF)}' | 
sort > du_c_files

# sdiff -s du_c_files ls_c_files
                                                              > mcount.op
                                                              > profil.op
                                                              > sprofil.op
---------------------------------------
Thank you for your time and effort.

Aaron




reply via email to

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