Re: FC3 strange lastlog size

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

 



>T. Horsnell wrote:
>> Hi all,
>> Can someone explain this please:
>> 
>> [root@ls1 log]$ ls -l /var/log/lastlog
>> -r--------  1 root root 1254130450140 May 13 16:41 /var/log/lastlog
>> [root@ls1 log]$ du -sk /var/log/lastlog
>> 48      /var/log/lastlog
>> 
>> I presume the 'ls' command output is wrong (1.2TBytes) but how do
>> I get the real length in bytes?
>
>They're both right. The file is 1254130450140 bytes long and is 
>occupying 48k of space on your disk. Excellent compression, eh?
>
>Google for "sparse files" (which is what this is) for an explanation.

Perfect. http://www.cs.wisc.edu/~thain/library/sparse.pdf reveals all.
Thanks,
T.

>
>Paul.
>
>-- 
>fedora-list mailing list
>fedora-list@xxxxxxxxxx
>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux