Size of /var/log/lastlog

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



On Sun, 6 Nov 2005 at 9:48pm, Morten wrote

> [root@machine log]# cd /var/log/
> [root@machine log]# ls -la|grep last
> -r--------   1 root  root  1254130450140 Nov  6 21:44 lastlog
> [root@machine log]# du -hs lastlog
> 52K     lastlog
>
> What's up with the output of ls? This is x86_64.

nfsnobody has a UID of -1 (or something like that), casuing lastlog (which 
incorporates UIDs) to appear that enormous.  Note that it's a sparse file, 
so it actually takes up very little space on disk.  Run 'du' on it to see 
how much actual disk space it occupies.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux