From owner-freebsd-questions Wed Sep 30 08:43:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA20714 for freebsd-questions-outgoing; Wed, 30 Sep 1998 08:43:11 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA20707 for ; Wed, 30 Sep 1998 08:43:09 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id IAA29140; Wed, 30 Sep 1998 08:42:03 -0700 (PDT) (envelope-from dhw) Date: Wed, 30 Sep 1998 08:42:03 -0700 (PDT) From: David Wolfskill Message-Id: <199809301542.IAA29140@pau-amma.whistle.com> To: dknapp@luciamar.k12.ca.us, freebsd-questions@FreeBSD.ORG Subject: Re: rc.conf is empty In-Reply-To: <3610DC67.CB9EFC23@luciamar.k12.ca.us> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Tue, 29 Sep 1998 13:11:03 +0000 >From: David Knapp >Oops, somehow I managed to eliminate all useful information from >rc.conf and rc.conf.previous - is there an easy way to copy this file >from the cd, or should I copy it from my home machine or is there >another option? Well, if that had happened for one of the machines I administer, I would take the first available of the following actions: * sudo co /etc/rc.conf (That is, recover the file from the RCS repository. RCS is not only useful for tracking changes, but to help for situations like this.) (Actually, as time permits, I'm working on figuring out how to keep a private CVS repository for these things, which should be *very* nice, once I figure out how to do it. Unfortunately, time is scarce....) * Restore the file(s) from the most recent appropriate backups (and tweak as necessary). * Copy the file(s) from a similarly-configured machine (and tweak as necessary). * Copy the file(s) from installation media (and tweak as necessary). So... once you've got the files back, you might want to take steps so you can do some of the earlier options in the above list. I heartily recommend RCS; the price is right, and the discipline isn't too tough. There were a couple of (consecutive) articles by the Jeffreys in recent issues of _SunExpert_ about using RCS (especially from a sysadmin perspective). david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message