Bug 21241

Summary: MAKEDEV on fixit floppy should not reset $PATH
Product: Base System Reporter: Don Lewis <Don.Lewis>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Don Lewis 2000-09-13 01:50:00 UTC
	The copy of MAKEDEV on the fixit floppy should not reset its
	$PATH.  If it does, it won't be able to find the needed executables
	on the fixit floppy, such as expr.  The release/Makefile attempts
	to edit MAKEDEV to prevent it from setting $PATH, but some formatting
	changes to MAKEDEV now prevent the editing from being successful.
Comment 1 Don Lewis freebsd_committer freebsd_triage 2000-11-07 11:28:54 UTC
State Changed
From-To: open->closed

The correct fix is to set MAKEDEVPATH in sysinstall to include the 
necessary directories in /mnt2, which is where the fixit floppy is 
mounted.  It is also necessary to search the path that MAKEDEV uses 
to find mknod instead of hardwiring it to /sbin/mknod. 

Fixed in release/sysinstall/install.c 1.286 and 1.268.2.16, etc/MAKEDEV 
1.280 and 1.243.2.15 (RELENG_4).