Weird log file size

Noah Spurrier noah at noah.org
Thu Jul 5 13:04:12 CDT 2007


I'm running a RHES4 64-bit on a Dell 1850. This may be more of a generic
Linux issue, but I am running a pretty stock configuration from Dell, so
I figured others might have seen something like this.

Any idea why I might see this?

      # ls -l /var/log/lastlog
      -r--------  1 root root 1254130450140 Jul  4 17:26 /var/log/lastlog

      # ls -lh /var/log/lastlog
      -r--------  1 root root 1.2T Jul  4 17:26 /var/log/lastlog

I don't have a 1.2 TB drive, so I'm sure the lastlog is not really 1.2 TB in
size.

Could this be a 32bit/64bit issue? Perhaps some sort of integer overflow or
misrepresentation. Maybe this version of `ls` does not behave well on 64-bit
machines.

Yours,
Noah



More information about the Linux-PowerEdge mailing list