Subject: Re: CVS commit: src/etc
To: <>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 12/15/2003 19:52:12
On Mon, Dec 15, 2003 at 08:57:52AM +0000, Jaromir Dolecek wrote:
> 
> Module Name:	src
> Committed By:	jdolecek
> Date:		Mon Dec 15 08:57:52 UTC 2003
> 
> Modified Files:
> 	src/etc: MAKEDEV.local MAKEDEV.tmpl
> 
> Log Message:
> add /rescue to the PATH to find chown if /usr is not available yet
> XXX chown should either be moved or we should not depend on it here

If we could rely on NetBSD (current) mknod, then mknod can set the
perms and uid/gid.  However the uname->uid and gname->gid translations
are expensive - so you want to use the numeric form (-u#0).

I'm not even sure that MAKEDEV works with non-netbsd mknod - the major/minor
split is very OS dependant.

Another option (mentioned before, and now possible to implement) is to
pipe the requests into pax.

	David

-- 
David Laight: david@l8s.co.uk