[Novalug] Sparse files

Michael Stone mstone at mathom.us
Tue Nov 14 06:29:09 EST 2006


On Tue, Nov 14, 2006 at 12:00:54AM -0500, Peter Larsen wrote:
>What command or option to ls will show me if a file is defined as sparse??
>
>I have a HUUUUGE lastlog - which most likely has been defined as 
>"sparse" on install (it's 1.2 TeraBytes on a 4G file system according to 
>ls). I am looking to "confirm" this little theroy, but I can't find the 
>command to show me if it's sparse?

It's normal for lastlog to be sparse, and it's fairly obvious in this 
case. That's also somewhat egregious, so it's also possible that it got 
corrupted.

Mike Stone



More information about the Novalug mailing list