What's /var/log/lastlog for?
Matthew Miller
mattdm at mattdm.org
Wed Jun 8 13:03:30 UTC 2005
On Tue, Jun 07, 2005 at 09:09:38PM -0700, Frank Chen wrote:
> I noticed that /var/log/lastlog is almost 20M. What's
> this file for? Can I reduce its size? I am trying to
> squeeze the /var directory into a small space.
It's not as big as you think -- it's a "sparse" file, in which null data
doesn't actually take up disk space. Try "du -h /var/log/lastlog" to see the
amount of disk space it's actually taking -- probably only a few K.
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 79 degrees Fahrenheit.
More information about the fedora-list
mailing list