[CentOS] differnt results between df and ls

Tom Brown tom at ng23.net
Thu Mar 29 11:01:37 UTC 2007


> 
> Sparse file. The file has holes in it:
> 
> # cd /var/log
> # ls -lh lastlog
> -r--------  1 root root 577M Mar 29 12:52 lastlog
> # du -h lastlog
> 20K     lastlog
> 
> Remember to use -S when tar'ing a file like this :-)

thanks - that seems to be it!!




More information about the CentOS mailing list