Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 13:26:24 +0100 (BST)
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        current@FreeBSD.ORG
Subject:   Toasting /etc/rc.conf...
Message-ID:  <Pine.BSF.4.05.9810061320500.243-100000@caladan.tdx.co.uk>

next in thread | raw e-mail | index | archive | help
This is probably a very minor point in the grand scheme of things, but I
managed to complete delete my /etc/rc.conf the other day by:

1. Going single user
2. vi'ing /etc/rc.conf
3. Suspending vi
4. running /stand/sysinstall

sysinstall hung at the 'Probing devices prompt - this may take some time',
and I had to switch the machine off (I'm running a serial console now -
which couldn't quit sysinstall, and the VGA one appeared 'dead' - as it
does now I'm on a serial one).

When the machine came back up - it did so as 'amnesic', and sure enough
/etc/rc.conf was a zero byte file...

Vi reckoned it couldn't recover any files either...

I know this is probably a 'stupid thing to do' (tm), but nasty all the
same - I just thought someone might want to know... ;-)

This also served as 'another good reason to do backups' though, as I'd
backed up the system about 5 minutes previous, and now know what restore
is like in interactive mode ;-)

Regards,

Karl


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9810061320500.243-100000>