Re: Relocating ~/.xsession-errors
* Martijn van Buul: > Hi, > > I've recently installed FreeBSD 8.0RC1 on my Acer Aspire One netbook, and so > far things are working out OK. I'm using the SSD model, and since these > netbooks have a notoriously slow SSD write speed, I'm trying to get rid of as > much writes as possible. Furthermore, reducing writes might make it live > longer. OK, I "fixed" my own problem, but I'm not overly happy with it. Apparently this filename and location are compile-time constants, so I had to revert to making a patch and compiling my own package. I would've loved to avoid this since it would make updating harder, but alas. It's a bit ironic to see that in a world littered of XML schemas, config files, gconf-voodoo and other configuration options you STILL end requiring a patched binary. Ah well :) -- Martijn van Buul - p...@dohd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Relocating ~/.xsession-errors
* Polytropon: > On Tue, 13 Oct 2009 08:02:19 + (UTC), Martijn van Buul > wrote: >> I'd like to relocate this file to a tmpfs ramdisk, >> if possible. > > Have you tried using a symlink? I'm not sure if this will > work across partitions... Symlinks work across partitions, but the problem is that symlinks (or hardlinks for that matter..) won't work here. GDM is responsible for setting up the redirection, and before doing so it moves the existing .xsession-errors to .xsession-errors.old. This is intentional, so in case of a suddenly terminating X session the old logging of the previous session is still available. This means that the (symbolic) link will just end up being moved to .xsession-errors.old, thus defeating the purpose. >> Does anyone know an alternate way to move this logfile, or if everything >> else fails how to silence it? > > Symlink to /dev/null? :-) Alas :) Thanks for thinking along with me. -- Martijn van Buul - p...@dohd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Relocating ~/.xsession-errors
On Tue, 13 Oct 2009 08:02:19 + (UTC), Martijn van Buul wrote: > I'd like to relocate this file to a tmpfs ramdisk, > if possible. Have you tried using a symlink? I'm not sure if this will work across partitions... > Does anyone know an alternate way to move this logfile, or if everything > else fails how to silence it? Symlink to /dev/null? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Relocating ~/.xsession-errors
* Martijn van Buul: > Does anyone know an alternate way to move this logfile, or if everything > else fails how to silence it? > I forgot to mention that I'm using gdm, but I'm not opposed to changing that. -- Martijn van Buul - p...@dohd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"