Can somebody explain this? du & ls showing different sizes

Patrick O'Callaghan pocallaghan at gmail.com
Wed Feb 18 12:11:39 UTC 2009


On Tue, 2009-02-17 at 23:29 +0000, Vijay Gill wrote:
> 2009/2/17 Patrick O'Callaghan <pocallaghan at gmail.com>:
> > On Tue, 2009-02-17 at 23:05 +0000, Vijay Gill wrote:
> >> Back again with another observation.
> >>
> >> I found out that this issue happens only with
> >> kernel-2.6.27.12-170.2.5.fc10.i686 (the latest one I have). I had a
> >> previous kernel too (kernel-2.6.27.9-159.fc10.i686) and there is no
> >> problem with that. I tried compare the change log of the two rpms and
> >> there seemed nothing about changes to XFS.
> >
> > Does it make a difference which of the two kernels creates the file?

[...]

> Well most of the files which exihibit that issue were in /var/run or
> /var/log. While investigating the latest kernel I had even cleared
> /var/run still the files created were a few bytes in size but were
> allocated 512M. I did nothing except rebooting to old kernel and
> problem went away.

What do you mean "the problem went away"? Do you mean that the 512M
files created under the new kernel now showed only a few bytes
allocated, or do you mean that *new* files created under the *old*
kernel don't have the 512M allocation?

poc

PS Your mailer is including the entire trailer of list messages in the
quoted material. This is dumb and most mailers don't do it. You should
either edit it out or consider using a different mailer.




More information about the fedora-list mailing list