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

[no subject]



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...



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00267" href="msg00267.html">[ale] lastlog</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00285.html">[ale] OT: Alternatives to Outlook on Winbloze</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00287.html">[ale] OT: question about replacing batteries in a APC UPS</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00292.html">[ale] lastlog</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00270.html">[ale] [Fwd: Dell Announce Recall of Notebook Computer Batteries]</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00286"><strong>Date</strong></a></li>
<li><a href="threads.html#00286"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>