Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2000 08:51:47 -0800
From:      Don Lewis <Don.Lewis@tsc.tdk.com>
To:        "Brian F. Feldman" <green@FreeBSD.org>, Don Lewis <truckman@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc MAKEDEV src/release Makefile
Message-ID:  <200011051651.IAA20696@salsa.gv.tsc.tdk.com>
In-Reply-To: <200011051634.eA5GY6532929@green.dyndns.org>
References:   <200011051634.eA5GY6532929@green.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 5, 11:34am, "Brian F. Feldman" wrote:
} Subject: Re: cvs commit: src/etc MAKEDEV src/release Makefile
} 
} Ack!  The idea of MAKEDEV having a restricted path is to prevent people from 
} repeatedly using stuff from /usr/bin etc. in MAKEDEV, which they love to do. 
} This change breaks that.  The right thing to do would be to either one of:
}   1) Change the default PATH in MAKEDEV to include the fixit floppy's paths.
}   2) Make the fixit floppy set MAKEDEVPATH=/sbin:/bin:/mnt2/stand.

Now you tell me ...

Better?

Index: release/sysinstall/install.c
===================================================================
RCS file: /home/ncvs/src/release/sysinstall/install.c,v
retrieving revision 1.285
diff -u -u -r1.285 install.c
--- release/sysinstall/install.c	2000/10/30 23:46:12	1.285
+++ release/sysinstall/install.c	2000/11/05 16:50:58
@@ -432,6 +432,8 @@
 	    msgDebug("fixit shell: Unable to get terminal attributes!\n");
 	setenv("PATH", "/bin:/sbin:/usr/bin:/usr/sbin:/stand:"
 	       "/mnt2/stand:/mnt2/bin:/mnt2/sbin:/mnt2/usr/bin:/mnt2/usr/sbin", 1);
+	setenv("MAKEDEVPATH", "/sbin:/bin:/stand:"
+	       "/mnt2/sbin:/mnt2/bin:/mnt2/stand", 1);
 	if (strcmp(variable_get(VAR_FIXIT_TTY), "serial") == 0) {
 	    printf("Waiting for fixit shell to exit.\n"
 		"When you are done, type ``exit'' to exit\n"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011051651.IAA20696>