From owner-cvs-all Sun Nov 5 8:51:53 2000 Delivered-To: cvs-all@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 1688337B4CF; Sun, 5 Nov 2000 08:51:49 -0800 (PST) Received: from imap.gv.tsc.tdk.com (imap.gv.tsc.tdk.com [192.168.241.198]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id IAA26062; Sun, 5 Nov 2000 08:51:48 -0800 (PST) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by imap.gv.tsc.tdk.com (8.9.3/8.9.3) with ESMTP id IAA69288; Sun, 5 Nov 2000 08:51:47 -0800 (PST) (envelope-from Don.Lewis@tsc.tdk.com) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id IAA20696; Sun, 5 Nov 2000 08:51:47 -0800 (PST) From: Don Lewis Message-Id: <200011051651.IAA20696@salsa.gv.tsc.tdk.com> Date: Sun, 5 Nov 2000 08:51:47 -0800 In-Reply-To: <200011051634.eA5GY6532929@green.dyndns.org> References: <200011051634.eA5GY6532929@green.dyndns.org> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: "Brian F. Feldman" , Don Lewis Subject: Re: cvs commit: src/etc MAKEDEV src/release Makefile Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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