And sed works nicely too.  And there's always the option of just using "cat
>filename" and just reentering the whole bloody thing.

> -----Original Message-----
> From: Peter Webb, Toronto Transit Commission
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 06, 2004 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how to "vi" to regain a bad image...
>
>
> You can use 'ed' from a 3270, and it is on most
> distributions. Not fun, but
> better than nothing.
>
> -----Original Message-----
> From: Brian France [mailto:[EMAIL PROTECTED]
> Sent: May 6, 2004 15:15
> To: [EMAIL PROTECTED]
> Subject: how to "vi" to regain a bad image...
>
> People,
>     In playing around today with MDISKS, sharing between
> linux instances,
> adding dasd to instances, I made a boo boo. I accidentally
> did a #cp logoff
> and not a disc. So, I booted the instance but it comes back
> in a safe mode
> due to me in the process of adding dasd to it, saying it
> can't mount the
> "new" dasd cause it might have a bad superblock. It tells me
> to repair it
> manually and reboot. So I figure since I can log in as root,
> and change
> over to r/w mode, I'll just undo my changes, and start over. Well, vi,
> 3270, it's not pretty. SO, before I up and nuke this instance
> and start
> over, it made me curious if I was missing some way to repair
> it. I figure
> sometime in the future I will probably need it to fix a production
> instance. Is there another way to edit, remove my changes,
> and reboot the
> instance? THANX!!!!!
>
>
> Brian W. France
> Systems Engineer I
> Pennsylvania State University
> Administrative Information Services - Infrastructure/Sysarc
> Rm 25 Shields Bldg., University Park, Pa. 16802
> 814-863-4739
> [EMAIL PROTECTED]
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO
> LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>
> ______________________________________________________________________
> The information transmitted is intended only for the person
> or entity to which it is addressed and may contain
> confidential and/or privileged material. Any review,
> retransmission, dissemination or other use of or taking of
> any action in reliance upon, this information by persons or
> entities other than the intended recipient or delegate is
> strictly prohibited. If you received this in error, please
> contact the sender and delete the material from any computer.
> The integrity and security of this message cannot be
> guaranteed on the Internet. The Sender accepts no liability
> for the content of this e-mail, or for the consequences of
> any actions taken on the basis of the information provided.
> The recipient should check this e-mail and any attachments
> for the presence of viruses. The sender accepts no liability
> for any damage caused by any virus transmitted by this
> e-mail. This disclaimer is the property of the TTC and must
> not be altered or circumvented in any manner.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO
> LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>


CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may
contain proprietary and privileged information for the use of the designated
recipients named above. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to