Re: What's /var/log/lastlog for?

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

 



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@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 79 degrees Fahrenheit.


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

  Powered by Linux