Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/etc



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@localhost



Home | Main Index | Thread Index | Old Index