From owner-freebsd-questions Mon Nov 19 17:50:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 8079737B416 for ; Mon, 19 Nov 2001 17:50:47 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id RAA10237; Mon, 19 Nov 2001 17:50:42 -0800 Message-ID: <3BF9B6F2.6090506@owt.com> Date: Mon, 19 Nov 2001 17:50:42 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Anthony Atkielski Cc: Bara Zani , freebsd-questions@FreeBSD.ORG Subject: Re: Vi a Joke ? References: <001e01c17134$0d6f2370$fd6e34c6@mlevy> <3BF964F5.7080905@owt.com> <004601c17162$eed90be0$0a00000a@atkielski.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Anthony Atkielski wrote: >>One point people forget and that is what can >>you use when you mess up rc.conf and your system >>will only boot into single user mode. Learning >>vi at that point is a painic :). >> > > Can't you just restore the previous copy of the file and reboot? You made a > backup copy of the last bootable version of the file before you changed it, > right? It is all too often a one line change and no one does a backup then. That is what gets them in trouble to begin with. It doesn't happen that often and I have always been able to mount /usr and correct the error using my editor of choice. The thing you can't do is re-ftp a corrected version or do an nfs_mount to pick up the backup. Occasionally, we see files that are corrupt because they have 's on the end of the line. kent -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message