Subject: Re: Working hp300 network boot code!
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Scott Reynolds <scottr@plexus.com>
List: port-hp300
Date: 09/14/1995 15:18:35
On Thu, 14 Sep 1995, Jason Thorpe wrote:

> My guess is that the mknod request 
> fails due to invalid arguments.

In fact, trying to mknod a device from an HP-UX NFS client to an HP-UX 
NFS server fails, as well.  Security feature, perhaps.

> Anyone want to make a MAKEDEV.hpux for 
> NetBSD/hp300 for this purpose?

I have a slightly more creative solution appended.  Note that it still 
needs to be run on the machine that has the disks physically attached.

--scott

*** /usr/src/etc/etc.hp300/MAKEDEV	Fri Aug 18 01:42:24 1995
--- MAKEDEV	Thu Sep 14 15:03:55 1995
***************
*** 62,67 ****
--- 62,75 ----
  #	lkm	loadable kernel modules interface
  #
  
+ [ `uname -s` = "HP-UX" ] && {
+ 	mknod() {
+ 		eval `echo "$1 $2 $3 $4" | awk '{
+ 			printf "/etc/mknod %s %s 0 0x%02x%02x",
+ 				$1, $2, $3, $4 }'`
+ 	}
+ }
+ 
  PATH=/sbin:/bin/:/usr/bin:/usr/sbin
  umask 77
  for i