Re: How to kill X?
On Tue, 07 Oct 2003 07:04, Pigeon wrote:
> On Tue, Oct 07, 2003 at 05:09:29AM +1300, cr wrote:
> > I've only had one sieze in recent times, what I've had several of
> > recently is sudden complete power cut - possibly a power supply fault.
> > Either way, it has the same effect of discombobulating my hard drive so I
> > have to do a lot of fscking on startup again. Occasionally this
> > completely munges my X setup.
>
> I think you might find ext3 to be a big help, though it's not a
> complete solution - if the power dies in the middle of a write, you
> can end up with a bad sector being created, which can confuse things a
> bit.
Are there any downsides to ext3?
> > I was thinking the best precaution might be to occasionally copy /etc,
> > /root and maybe /home/cr (are those the appropriate directories?) to a
> > directory on another drive, which is unlikely to have files open at the
> > time of a crash, and just copy them back if I need to to restore my
> > settings.
>
> I'd add /var to the list, and copy them onto a partition which can be
> mounted read-only except when you're actually doing the copying.
Thanks, I'll do that.
> Hmmm... you could have two such back-up partitions, and have a cron
> job that backs up automatically to each one alternately every so
> often. Then, even if it crashes during the backup, you've still got
> the other copy.
Well, that's a sort of second-order-of-probability, and a risk I'll take.
If that happens I'll just do the reinstall thing. ;)
> A new PSU is probably a good idea too :-)
The new PSU idea will get tried out next weekend when I can pick one up.
(It's cheaper than the other possibility which is trying out a new
motherboard + CPU :)
cr
Reply to: