[CentOS] Interesting faillog files.

Fri Oct 24 15:14:24 UTC 2008
Mogens Kjaer <mk at crc.dk>

Semih Gokalp wrote:
> yes i did it before.
> 
> du /var/log/message
> 
> 28      /var/log/faillog
> 
> but
> 
> ls -al /var/log/
> 
> -rw-------  1 root   root   137438953440 Oct 24 17:37 faillog
> 
> but why it is different ?

It is a sparse file. It has holes in it.
Only a few blocks are actually allocated.

It is not an error.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk