Bug 48461

Summary: $EDITOR on the fixit CD is wrong.
Product: Base System Reporter: dgilbert <dgilbert>
Component: miscAssignee: kensmith
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.7-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description dgilbert 2003-02-19 16:40:10 UTC
	In my case, I was using disklabel -e and it tries to run
/mnt2/stand/vi ... which is not present.  Maybe this is a floppy
thing... but we should be able to make this work in both places.
My simple patch doesn't address the floppy issue, I don't think.

How-To-Repeat: 	
	run disklabel -e from the fixit CD.
Comment 1 ru freebsd_committer freebsd_triage 2003-02-19 17:06:35 UTC
On Wed, Feb 19, 2003 at 11:30:50AM -0500, David Gilbert wrote:
> 
> 	In my case, I was using disklabel -e and it tries to run
> /mnt2/stand/vi ... which is not present.  Maybe this is a floppy
> thing... but we should be able to make this work in both places.
> My simple patch doesn't address the floppy issue, I don't think.
> >How-To-Repeat:
> 	
> 	run disklabel -e from the fixit CD.
> 
> --- fixit.profile.orig	Wed Feb 19 11:18:14 2003
> +++ fixit.profile	Wed Feb 19 11:23:59 2003
> @@ -3,8 +3,8 @@
>  
>  export BLOCKSIZE=K
>  export PS1="Fixit# "
> -export EDITOR="/mnt2/stand/vi"
> -export PAGER="/mnt2/stand/more"
> +export EDITOR="/mnt2/usr/bin/vi"
> +export PAGER="/mnt2/usr/bin/more"
>  export SCSI_MODES="/mnt2/usr/share/misc/scsi_modes"
>  # the root MFS doesn't have /dev/nrsa0, pick a better default for mt(1)
>  export TAPE=/mnt2/dev/nrsa0
> 
Will it also work with the fixit floppy?


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
Comment 2 dgilbert 2003-02-19 17:26:27 UTC
>>>>> "Ruslan" == Ruslan Ermilov <ru@FreeBSD.ORG> writes:

Ruslan> Will it also work with the fixit floppy?

Since I don't have any functioning floppy drives in house, I don't
know how I would test the floppy environment.  I'm sure it can be made
to, but someone with a floppy should test this.

We havn't bought floppies in house for about 5 years.

Dave.

-- 
============================================================================
|David Gilbert, Velocet Communications.       | Two things can only be     |
|Mail:       dgilbert@velocet.net             |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================
Comment 3 Murray Stokely freebsd_committer freebsd_triage 2003-05-11 21:47:49 UTC
Responsible Changed
From-To: freebsd-bugs->murray

I'll take a look at this.
Comment 4 kensmith freebsd_committer freebsd_triage 2008-01-22 15:31:03 UTC
Responsible Changed
From-To: murray->kensmith


Working on this.
Comment 5 kensmith freebsd_committer freebsd_triage 2008-02-03 05:03:54 UTC
State Changed
From-To: open->closed


Patched in RELENG_7 and RELENG_6.  That's as far back as we'll go with 
it.