Subject: Re: Single user mode: ed(1) or bust
To: Eric d'Alibut <eric.halibut@gmail.com>
From: matthew sporleder <msporleder@gmail.com>
List: netbsd-users
Date: 05/04/2007 18:49:00
On 5/4/07, Eric d'Alibut <eric.halibut@gmail.com> wrote:
> I painted myself into a single user mode corner this week following
> along the (excellent) description of cgd installation found in the
> NetBSD Guide. The corner, of course, was founded on my ignorance of
> ed(1), and the absence of any available /usr partition with which to
> launch vi.
>
> What do knowledgeable NetBSD users, as opposed to moi, do in these situations?
>
> Are there rescue floppies available for bailout in these circumstances?
>
> (My personal hackaround was to boot using floppies and use ftp to move
> fstab back and forth between a machine I could edit on.)
>

I usually bumble around with ed until I re-figure it out.  (line
numbers, s/foo/bar, etc)