Subject: Re: non-native MAKEDEV [was: Re: CVS commit: basesrc]
To: Greg Hudson <ghudson@MIT.EDU>
From: Andy Doran <ad@netbsd.org>
List: source-changes
Date: 10/07/1999 15:05:17
On Thu, 7 Oct 1999, Greg Hudson wrote:

> >> Final chown user.group -> chown user:group changes.
> 
> > Um... one reason there was a "." in there was that the MAKEDEV
> > script may not always run under NetBSD, but sometimes also under
> > some other machine setting up an environment for a netboot. at least
> > for ultrix and sunos, I'm not sure if the can cope with your change.
> 
> Of course, on Solaris 2.6:
> 
>    small-gods# touch foo
>    small-gods# chown root.sys foo
>    chown: unknown user id root.sys
>    small-gods# chown root:sys foo
>    small-gods# 

ULTRIX is the other way round :).

> Perhaps the script should use separate invocations of chown and chgrp
> if portability is the goal.

Sounds like the only way to make it work across the board.

- ad