Re: /var/cache

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

 



On Thu, Jul 06, 2017 at 01:53:29AM +0200, Patrick Dupre wrote:
> Why do you say that it is not a a multiple of 4k?
> dumpe2fs provides:
> Block size:               4096
> 
> At least 1646960 / 4 = 411740

Duh, 4 is not 4096.  1646960 / 4096 is 402.0898 (approximately).

> 
> du seems providing the size in k
> du /var/log/journal
> 1646956	/var/log/journal/f14e53f3162847d4ae17fd1ca988e33c
> 1646960	/var/log/journal

And what does du have to do with the size of a directory
that normally is obtained with "ls -ld".

> ls -i /var/log/journal
> 1117919 f14e53f3162847d4ae17fd1ca988e33c
> 

Another, what does the inode number of a file under 'journal'
have to do with the size of journal?  Or for that matter,
the size of the file under journal?

> Is there something wrong?
> 

I suspect you feel the 41 directories you listed contain
lots of big files, possibly wasting a lot of space.  That
is a different topic than the one you asked.  It would
have helped if you had shown how you obtained the numbers
you posted, i.e. what commands were used.  I'm now guessing
it was something like "du -s <directory>".

-- 
Jon H. LaBadie                  jonfu@xxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux