Re: lastlog is huge

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

 



On Tue, 1 Mar 2005 10:26:52 -0500, Matthew Miller <mattdm@xxxxxxxxxx> wrote:
> On Tue, Mar 01, 2005 at 09:19:01AM -0600, Aleksandar Milivojevic wrote:
> > >"if this is a 64 bit machine... the nfs nobody user has UID of -1...
> > >which is a lot on 64 bit"
> > Good thing nobody logs in as nobody :-)
> > Or is there anybody?
> 
> Lots of things switch to 'nobody', and this may get logged.

A quite interesting discussion.  Something must get logged at some point:
$ ll /var/log/lastlog
-r--------  1 root root 1254130450140 Mar  1 20:01 /var/log/lastlog
$ ll -h /var/log/lastlog
-r--------  1 root root 1.2T Mar  1 20:01 /var/log/lastlog
Now I wish I had a 1.2 Terabyte disk in my laptop ;).  Using "ls -hs"
shows the actual size to be 52 kB.
Actually this is very close to the value reported by the OP, so
perhaps he also has a 64-bit machine.  It has sort of been suggested,
but for the OP, the "du" program is very useful for telling you how
much space things take up.  I especially like "du -hs *" which tells
you the size of each of the directories in the current directory. 
Also, check out "df" and "df -h"  Note that all of these should be run
in a terminal.
Lastly, if you are trying to use Ghost, then you actually may not be
able to go from a 160 GB disk to a 36 GB disk.  Ghost, as far as I
know, creates an image of the disk, which is a direct binary copy. 
You should be able to do this on a partition-by-partition basis if the
partitions are the same size, but I would still be careful.  Perhaps a
better choice would be to boot to the rescue CD and simply mount the
partition to copy from and to copy to and just copy the files with "cp
-a".

Jonathan


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

  Powered by Linux