Subject: MAKEDEV path does not include sbin
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Brad Parker <brad@fcr.com>
List: netbsd-bugs
Date: 12/01/1993 08:40:15
Small nit:

/dev/MAKEDEV fails

	faster# MAKEDEV vga
	+ PATH=/sbin:/bin/:/usr/bin
	+ umask 77
	+ chr=21
	+ expr vga : \(.*\)co
	+ device=
	+ name=vga
	+ chr=12
	+ minor=0
	+ rm -f vga
	+ mknod vga c 12 0
	+ chown root.wheel vga
	chown: not found

After remaking *everything* with shared libs (most exciting), I cleaned
out some old files in /bin (like chown ;-).  I was curious about this
at the time but did not think anything of it.  oops.

I believe that I found old versions of both chown and chgrp in /bin
(or /sbin, I don't remember), and they (from their dates) had not be
rebuilt during the "(cd /usr/src; make && make install)".

Adding /usr/sbin to the path in MAKEDEV fixes this, but I wonder how
many other scripts restrict themselves to "PATH=/sbin:/bin/:/usr/bin"
as MAKEDEV does...

-brad

------------------------------------------------------------------------------