Date: Sun, 29 Oct 2000 19:57:19 -0800 (PST) From: Don Lewis <Don.Lewis@tsc.tdk.com> To: stable@freebsd.org Subject: MAKEDEV on the fixit floppy is worthless Message-ID: <200010300357.TAA20757@salsa.gv.tsc.tdk.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010300357.TAA20757>