Subject: Re: non-native MAKEDEV [was: Re: CVS commit: basesrc]
To: Greg Hudson <ghudson@MIT.EDU>
From: Allen Briggs <briggs@ninthwonder.com>
List: source-changes
Date: 10/07/1999 10:13:11
> Perhaps the script should use separate invocations of chown and chgrp
> if portability is the goal.
Or add something like:
for chown_sep in ':' '.' ; do
touch /tmp/test_chown
if chown root${chown_sep}sys /tmp/test_chown 2>/dev/null ; then
break
fi
rm /tmp/test_chown
done
And then change all chowns appropriately. Using a single chown instead
of chown/chgrp is definitely faster for speed-challenged ports/disks.
-allen