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

Re: HUGE .xsession-errors file



on Fri, Oct 05, 2001 at 09:06:21AM -0700, Sean 'Shaleh' Perry (shalehperry@home.com) wrote:
> 
> On 05-Oct-2001 David Purton wrote:
> > at some point in the last day or so my .xsession-erros fil grew to an
> > enormous size and completely filled up my hard disk (like almost 1GB in
> > size).
> > 
> > it seemed to contain binary junk, but I've delete it now (needed to
> > download my mail :)  )
> > 
> > what would cause this?
> > 
> 
> this file contains any output on stderr durected to the tty X was
> started on.  So any program started via the menu system or via your
> xinit/xsession script.

Note that you want to empty such a file, not delete it -- if the file is
open for writing, you aren't clearing the data, just losing the
filehandle to manipulate it:

    $ cat /dev/null > logfile

...will zero out the file.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?              Home of the brave
  http://gestalt-system.sourceforge.net/                    Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA!  http://www.freesklyarov.org
Geek for Hire                      http://kmself.home.netcom.com/resume.html

Attachment: pgp9r78xAs8A8.pgp
Description: PGP signature


Reply to: