[ale] lastlog

Phil Heaton pheaton at lumpkin.k12.ga.us
Tue Dec 20 08:32:36 EST 2005


Jim,

Do this:

ls -hl /var/log/lastlog

and

du -h /var/log/lastlog

then compare the two.

It's a "sparse file", so it only looks like it's 1.2T...

On Dec 19, 2005, at 15:21, James P. Kinney III wrote:

> My /var/log/lastlog shows a file size of 1.2T.
>
> It would be kind of cool if that were possible. But I don't _have_  
> even
> 1T of drive space on the machine.
>
> So a digging around of man pages shows lastlog as _always_ having a
> bogus large file size. ls -s shows it as 60(B) while ls -h shows 1.2T
>
> Does ext(3) have issues with sparse files (which is what lastlog is)?
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list