[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue, 20 Dec 2005 11:49:32 -0500 -->
- <!--x-from-r13: www863 ng tznvy.pbz (Xreel Kh) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] lastlog -->
- <li><em>date</em>: Tue, 20 Dec 2005 11:49:32 -0500</li>
- <li><em>from</em>: jjj863 at gmail.com (Jerry Yu)</li>
- <li><em>in-reply-to</em>: <<a href="msg00289.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00267.html">[email protected]</a>> <<a href="msg00276.html">[email protected]</a>> <<a href="msg00289.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] lastlog</li>
On 12/20/05, James P. Kinney III <jkinney at localnetsolutions.com> wrote:
>
> On Mon, 2005-12-19 at 23:20 -0500, Chris Ricker wrote:
> > On Mon, 19 Dec 2005, 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)?
> >
> > That's more-or-less normal. The apparent size (ls -h) of lastlog will
> vary
> > with architecture, vendor, Unix flavor, UIDs on the system, etc., but it
> > should be sparse and will likely appear huge (for some value of huge ;-)
> >
> > The idea is that lastlog is indexed by uid but is sparse so you don't
> > waste disk space. The huge sparseness you're seeing is because nfsnobody
> > on your OS is uid -1. nfsnobody uid of -1 on x86_64 is 4294967294, and
> > indexing to 4294967294 reserves 1.2 terabytes
>
> Ah HA!! You hit it dead on. Many thanks for the tutoring lesson on
> indexing a filesystem.
>
> >
> > ext3 is fine with it, but your utils (tar, cpio, etc) may or may not do
> > what you want -- treat it as a sparse file, rather than as a really long
> > really compressible string -- depending on rev, vendor, options used,
> etc.
> >
> > later,
> > chris
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
> --
> James P. Kinney III \Changing the mobile computing world/
> CEO & Director of Engineering \ one Linux user /
> Local Net Solutions,LLC \ at a time. /
> 770-493-8244 \.___________________________./
> <a rel="nofollow" href="http://www.localnetsolutions.com">http://www.localnetsolutions.com</a>
>
> GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
> <jkinney at localnetsolutions.com>
> Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQBDqCJYYZCtw4KcbKcRAlnXAJ9/4icsKFSoHDhV4KQfvnO/gOhXXgCePYJU
> SDBpM1vZugzv8IF6yZNo0WA=
> =ECEL
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
-------------- 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>
<li><strong><a name="00276" href="msg00276.html">[ale] lastlog</a></strong>
<ul><li><em>From:</em> kaboom at oobleck.net (Chris Ricker)</li></ul></li>
<li><strong><a name="00289" href="msg00289.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="msg00291.html">[ale] old '99 bug still in latest Apache ?!</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00293.html">[ale] .wmv on linux</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00289.html">[ale] lastlog</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00286.html">[ale] lastlog</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00292"><strong>Date</strong></a></li>
<li><a href="threads.html#00292"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>