On Sat, 2005-01-29 at 16:21 +0100, Olle Eriksson wrote: > Hi > > I just thought I'd mention this here for those who are not aware of it. > > My disk usage has seemed to grown the last year or so and I havn't been > able to understand what it is that takes so much space. Today I was > playing around with 'du' and couldn't get the numbers to add up. Then I > saw that the file ~/.xsessions-errors had grown to a huge size, about 4.7 > Gigabytes. When I finally got rid of it I freed about half the size of my > root partition. :-) > > Because this file is used by countless X applications it can't be deleted > properly. What seems to work is this: > > cat /dev/null > ~/.xsession-errors > > Now I have this in a cron script run every night. > > So if you are having problems with disk space, check out this file. Before blindly overwriting it, did you look into it to see why it is sooooooooo big? dir .xsession-errors -rw------- 1 me me 1611951 2004-08-21 17:24 .xsession-errors -- ----------------------------------------------------------------- Ron Johnson, Jr. Jefferson, LA USA PGP Key ID 8834C06B I prefer encrypted mail. "Pacifism can act more effectively against democracy than for it." George Orwell, 1941
Attachment:
signature.asc
Description: This is a digitally signed message part