From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 14:49:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3959016A4CE for ; Sun, 20 Feb 2005 14:49:16 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66C1243D2F for ; Sun, 20 Feb 2005 14:48:55 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1KEmsXq028211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Feb 2005 06:48:54 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1KEmXTQ028206; Sun, 20 Feb 2005 06:48:33 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 20 Feb 2005 06:48:33 -0800 From: "Loren M. Lang" To: Sandy Rutherford Message-ID: <20050220144833.GG4471@alzatex.com> References: <03fb01c51457$3f246ff0$0b01a8c0@enigmedia.net> <1108595484.708.8.camel@chaucer.jeays.ca> <4213F7A1.3030304@cis.strath.ac.uk> <20050217020202.GB34810@mail.oss.uswest.net> <16916.22919.40934.655595@szamoca.krvarr.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16916.22919.40934.655595@szamoca.krvarr.bc.ca> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: Jamie Novak cc: freebsd-questions@freebsd.org Subject: Re: can't reboot after messing up my rc.conf file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 14:49:16 -0000 On Thu, Feb 17, 2005 at 12:44:55AM -0800, Sandy Rutherford wrote: > >>>>> On Wed, 16 Feb 2005 20:02:02 -0600, > >>>>> Jamie Novak said: > > > I may have missed something from the thread before I joined the list, > > but is there any reason you can't just mount the filesystems and use vi > > as you're used to? If you're getting far enough in the boot process to > > get an opportunity to interact with a shell, you should just be able to > > mount -a and vi whatever. (Or, if you want to play it safe (or if the > > system wasn't cleanly shutdown before), fsck and then mount -a) > > This should work fine. Although, depending on where he is in the boot > process, / may be mounted read-only. Do `mount -uw /' to make it > read-write. > > The lesson here is that when editing any file that is even remotely > connected to the boot process, _make_a_backup_copy_. You can then > simply mv the backup copy back into place should you mess up. Actually, Absolute BSD has a handy suggestion about using rcs for all important files in /etc/. Maybe you should try looking into that. > > Sandy > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C