Subject: Re: improvements to mknod(8)
To: David Laight <david@l8s.co.uk>
From: Andrey Petrov <petrov@netbsd.org>
List: tech-userlevel
Date: 02/07/2003 10:25:03
On Fri, Feb 07, 2003 at 05:49:09PM +0000, David Laight wrote:
> > While I think you're right that MAKEDEV could use some work, I'm not sure
> > that extending mknod is the way to go.  In particular, remember that in a
> > diskless environment, MAKEDEV usually gets run on the NFS server, which may
> > well not be running NetBSD, and even if it is running NetBSD is likely to be
> > a different architecture and version from the system whose /dev is being
> > populated.  MAKEDEV isn't as portable as it could be, but making it even
> > less portable would be a bad idea IMO.
> 
> With the current system, init will run MAKEDEV in an mfs filesystem
> when bringing up the system.
> 

We use MAKEDEV on a server machine to populate client's /dev directory.
And server is not neccesseraly a netbsd machine...

	Andrey