From owner-freebsd-stable Sun Oct 29 19:57:25 2000 Delivered-To: freebsd-stable@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 8685E37B479 for ; Sun, 29 Oct 2000 19:57:21 -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 TAA24451 for ; Sun, 29 Oct 2000 19:57:20 -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 TAA14989 for ; Sun, 29 Oct 2000 19:57:19 -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 TAA20757 for stable@freebsd.org; Sun, 29 Oct 2000 19:57:19 -0800 (PST) Date: Sun, 29 Oct 2000 19:57:19 -0800 (PST) From: Don Lewis Message-Id: <200010300357.TAA20757@salsa.gv.tsc.tdk.com> To: stable@freebsd.org Subject: MAKEDEV on the fixit floppy is worthless Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you boot a machine with the kern and mfsroot floppies and then try to run MAKEDEV from the fixit floppy, you will run into a couple of problems. The first is that MAKEDEV resets $PATH to /sbin:/bin, which doesn't work too well in this environment, and MAKEDEV won't be able to find things like expr, which lives in /mnt2/stand. When release/Makefile installs MAKEDEV on the fixit floppy, it runs sed in attempt to get rid of this override, but it fails because of a whitepace change in MAKEDEV, which was introduced when $MAKEDEVPATH was added to MAKEDEV. One possible fix is the patch I submitted with the PR misc/21241. Another would be to set $MAKEDEVPATH. Once this problem has been worked around, the next problem is that MAKEDEV is hardwired to run /sbin/mknod, which hasn't worked in ages because only exists on the fixit floppy and not on the mfsroot floppy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message