Final chown user.group -> chown user:group changes.

This commit is contained in:
ad 1999-10-06 22:26:14 +00:00
parent 0cb212b1fe
commit 993ac32fff
19 changed files with 211 additions and 211 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.49 1999/09/18 00:23:35 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.50 1999/10/06 22:26:14 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -145,7 +145,7 @@ wsmux|wsmouse|wskbd)
rm -f wsmouse wskbd
mknod wsmouse c 56 0
mknod wskbd c 56 1
chown root.wheel wsmouse wskbd
chown root:wheel wsmouse wskbd
chmod 600 wsmouse wskbd
;;
@ -177,7 +177,7 @@ usb*)
major=45
rm -f $usb
mknod $usb c $major $unit
chown root.wheel $usb
chown root:wheel $usb
chmod 600 $usb
;;
@ -187,7 +187,7 @@ uhid*)
major=46
rm -f $uhid
mknod $uhid c $major $unit
chown root.wheel $uhid
chown root:wheel $uhid
chmod 666 $uhid
;;
@ -197,7 +197,7 @@ ulpt*)
major=47
rm -f $ulpt
mknod $ulpt c $major $unit
chown root.wheel $ulpt
chown root:wheel $ulpt
chmod 600 $ulpt
;;
@ -211,7 +211,7 @@ ttyU*)
mknod $ttyU c $major $(($unit + $dialin ))
mknod $dtyU c $major $(($unit + $dialout ))
mknod $ctyU c $major $(($unit + $callunit))
chown uucp.wheel $ttyU $dtyU $ctyU
chown uucp:wheel $ttyU $dtyU $ctyU
chmod 600 $ttyU $dtyU $ctyU
;;
@ -224,7 +224,7 @@ ugen*)
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
chown root.wheel $ugenj
chown root:wheel $ugenj
chmod 600 $ugenj
done
;;
@ -237,7 +237,7 @@ fd)
mknod fd/$n c 10 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -288,7 +288,7 @@ ttyB*|ttyC*|ttyE*)
esac
rm -f $name$unit
mknod $name$unit c $major $minor
chown uucp.wheel $name$unit
chown uucp:wheel $name$unit
;;
pty*)
@ -387,7 +387,7 @@ bpf*|tun*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
lkm)
@ -402,7 +402,7 @@ wskbd*)
wskbd=wskbd$unit
rm -f $wskbd
mknod $wskbd c 29 $unit
chown root.wheel $wskbd
chown root:wheel $wskbd
chmod 666 $wskbd
;;
@ -411,7 +411,7 @@ wsmouse*)
wsmouse=wsmouse$unit
rm -f $wsmouse
mknod $wsmouse c 30 $unit
chown root.wheel $wsmouse
chown root:wheel $wsmouse
chmod 666 $wsmouse
;;
@ -428,7 +428,7 @@ audio*)
mknod $audio c $major $(($unit + 128))
mknod $mixer c $major $(($unit + 16))
mknod $audioctl c $major $(($unit + 192))
chown root.wheel $audio $sound $mixer $audioctl
chown root:wheel $audio $sound $mixer $audioctl
chmod 666 $audio $sound $mixer $audioctl
;;
@ -438,7 +438,7 @@ rmidi*)
rmidi=rmidi$unit
rm -f $rmidi
mknod $rmidi c $major $unit
chown root.wheel $rmidi
chown root:wheel $rmidi
chmod 666 $rmidi
;;
@ -451,7 +451,7 @@ music*)
rm -f $sequencer $music
mknod $music c $major $(($unit + 0))
mknod $sequencer c $major $(($unit + 128))
chown root.wheel $music $sequencer
chown root:wheel $music $sequencer
chmod 666 $music $sequencer
;;
@ -462,7 +462,7 @@ lpt*|lpa*)
esac
rm -f $name$unit
mknod $name$unit c 31 $(($unit + $flags))
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
ipl)
@ -471,7 +471,7 @@ ipl)
mknod ipnat c 35 1
mknod ipstate c 35 2
mknod ipauth c 35 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -485,14 +485,14 @@ satlink*)
speaker)
rm -f speaker
mknod speaker c 41 0
chown root.wheel speaker
chown root:wheel speaker
;;
random)
rm -f random urandom
mknod random c 39 0
mknod urandom c 39 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.50 1999/09/18 00:23:35 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.51 1999/10/06 22:26:14 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -165,7 +165,7 @@ fd)
mknod fd/$n c 21 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -481,7 +481,7 @@ bpf*|tun*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
lkm)
@ -497,7 +497,7 @@ ipl)
mknod ipnat c 40 1
mknod ipstate c 40 2
mknod ipauth c 40 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -514,7 +514,7 @@ audio*)
mknod $audio c $major $(($unit + 128))
mknod $mixer c $major $(($unit + 16))
mknod $audioctl c $major $(($unit + 192))
chown root.wheel $audio $sound $mixer $audioctl
chown root:wheel $audio $sound $mixer $audioctl
chmod 666 $audio $sound $mixer $audioctl
;;
@ -523,7 +523,7 @@ random)
rm -f random urandom
mknod random c 42 0
mknod urandom c 42 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.41 1999/09/18 00:23:36 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.42 1999/10/06 22:26:14 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -170,7 +170,7 @@ ttyv*)
chr=4; unit=${i#ttyv}
rm -f ttyv$unit
mknod ttyv$unit c $chr $unit
chown root.wheel ttyv$unit
chown root:wheel ttyv$unit
;;
wscons)
@ -185,7 +185,7 @@ wsmux|wsmouse|wskbd)
rm -f wsmouse wskbd
mknod wsmouse c 73 0
mknod wskbd c 73 1
chown root.wheel wsmouse wskbd
chown root:wheel wsmouse wskbd
chmod 600 wsmouse wskbd
;;
@ -193,7 +193,7 @@ ttyEcfg)
chr=60
rm -f ttyEcfg
mknod ttyEcfg c $chr 255
chown root.wheel ttyEcfg
chown root:wheel ttyEcfg
chmod 600 ttyEcfg
;;
@ -201,7 +201,7 @@ ttyE*)
chr=60; unit=${i#ttyE}
rm -f ttyE$unit
mknod ttyE$unit c $chr $unit
chown root.wheel ttyE$unit
chown root:wheel ttyE$unit
;;
wsmouse*)
@ -210,7 +210,7 @@ wsmouse*)
major=62
rm -f $wsmouse
mknod $wsmouse c $major $unit
chown root.wheel $wsmouse
chown root:wheel $wsmouse
chmod 600 $wsmouse
;;
@ -220,7 +220,7 @@ wskbd*)
major=61
rm -f $wskbd
mknod $wskbd c $major $unit
chown root.wheel $wskbd
chown root:wheel $wskbd
chmod 600 $wskbd
;;
@ -232,7 +232,7 @@ fd)
mknod fd/$n c 34 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -278,7 +278,7 @@ ttyU*)
mknod $ttyU c $major $(($unit + $dialin ))
mknod $dtyU c $major $(($unit + $dialout ))
mknod $ctyU c $major $(($unit + $callunit))
chown uucp.wheel $ttyU $dtyU $ctyU
chown uucp:wheel $ttyU $dtyU $ctyU
chmod 600 $ttyU $dtyU $ctyU
;;
@ -287,7 +287,7 @@ tty*)
rm -f tty0$unit dty0$unit
mknod tty0$unit c 12 $(($unit + $dialin ))
mknod dty0$unit c 12 $(($unit + $dialout))
chown uucp.wheel tty0$unit dty0$unit
chown uucp:wheel tty0$unit dty0$unit
;;
pty*)
@ -395,7 +395,7 @@ lpt*|lpa*)
esac
rm -f $name$unit
mknod $name$unit c $chr $(($unit + $flags))
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
@ -409,7 +409,7 @@ bpf*|tun*|pms*|qms*|joy*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
ipl)
@ -418,14 +418,14 @@ ipl)
mknod ipnat c 46 1
mknod ipstate c 46 2
mknod ipauth c 46 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
beep)
rm -f beep
mknod beep c 10 0
chown root.wheel beep
chown root:wheel beep
;;
lkm)
@ -448,7 +448,7 @@ cpu*)
unit=${i#cpu}
rm -f cpu$unit
mknod cpu$unit c 38 $unit
chown root.wheel cpu$unit
chown root:wheel cpu$unit
;;
audio*)
@ -464,7 +464,7 @@ audio*)
mknod $audio c $major $(($unit + 128))
mknod $mixer c $major $(($unit + 16))
mknod $audioctl c $major $(($unit + 192))
chown root.wheel $audio $sound $mixer $audioctl
chown root:wheel $audio $sound $mixer $audioctl
chmod 666 $audio $sound $mixer $audioctl
;;
@ -474,7 +474,7 @@ rmidi*)
rmidi=rmidi$unit
rm -f $rmidi
mknod $rmidi c $major $unit
chown root.wheel $rmidi
chown root:wheel $rmidi
chmod 666 $rmidi
;;
@ -487,7 +487,7 @@ music*)
rm -f $sequencer $music
mknod $music c $major $(($unit + 0))
mknod $sequencer c $major $(($unit + 128))
chown root.wheel $music $sequencer
chown root:wheel $music $sequencer
chmod 666 $music $sequencer
;;
@ -497,7 +497,7 @@ usb*)
major=64
rm -f $usb
mknod $usb c $major $unit
chown root.wheel $usb
chown root:wheel $usb
chmod 600 $usb
;;
@ -507,7 +507,7 @@ uhid*)
major=65
rm -f $uhid
mknod $uhid c $major $unit
chown root.wheel $uhid
chown root:wheel $uhid
chmod 666 $uhid
;;
@ -517,7 +517,7 @@ ulpt*)
major=66
rm -f $ulpt
mknod $ulpt c $major $unit
chown root.wheel $ulpt
chown root:wheel $ulpt
chmod 600 $ulpt
;;
@ -530,7 +530,7 @@ ugen*)
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
chown root.wheel $ugenj
chown root:wheel $ugenj
chmod 600 $ugenj
done
;;
@ -540,7 +540,7 @@ random)
rm -f random urandom
mknod random c 52 0
mknod urandom c 52 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;
@ -551,7 +551,7 @@ cfs*)
major=59
rm -f $cfs
mknod $cfs c $major $unit
chown root.wheel $cfs
chown root:wheel $cfs
chmod 600 $cfs
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.35 1999/09/18 00:23:36 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.36 1999/10/06 22:26:14 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -159,7 +159,7 @@ fd)
mknod fd/$n c 18 $n
n=$(($n+1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -173,7 +173,7 @@ ttyA*|ttyB*)
rm -f t$name$unit d$name$unit
mknod t$name$unit c $major $(($minor + $dialin ))
mknod d$name$unit c $major $(($minor + $dialout ))
chown uucp.wheel t$name$unit d$name$unit
chown uucp:wheel t$name$unit d$name$unit
;;
st*)
@ -442,20 +442,20 @@ lpt*)
unit=${i#lpt}
rm -f lpt$unit
mknod lpt$unit c 29 $unit
chown root.wheel lpt$unit
chown root:wheel lpt$unit
;;
rtc)
rm -f rtc
mknod rtc c 33 0
chown root.wheel rtc
chown root:wheel rtc
;;
bpf*)
unit=${i#bpf}
rm -f bpf$unit
mknod bpf$unit c 19 $unit
chown root.wheel bpf$unit
chown root:wheel bpf$unit
;;
tun*)
@ -463,7 +463,7 @@ tun*)
rm -f tun$unit
mknod tun$unit c 28 $unit
chmod 600 tun$unit
chown root.wheel tun$unit
chown root:wheel tun$unit
;;
lkm)
@ -479,7 +479,7 @@ ipl)
mknod ipnat c 36 1
mknod ipstate c 36 2
mknod ipauth c 36 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -487,7 +487,7 @@ random)
rm -f random urandom
mknod random c 38 0
mknod urandom c 38 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;
@ -495,7 +495,7 @@ random)
etvme)
rm -f etvme
mknod etvme c 40 0
chown root.wheel etvme
chown root:wheel etvme
chmod 600 etvme
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.7 1999/09/20 00:22:17 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.8 1999/10/06 22:26:14 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -147,7 +147,7 @@ ttyv*)
chr=12; unit=${i#ttyv}
rm -f ttyv$unit
mknod ttyv$unit c $chr $unit
chown root.wheel ttyv$unit
chown root:wheel ttyv$unit
;;
wscons)
@ -162,7 +162,7 @@ wsmux|wsmouse|wskbd)
rm -f wsmouse wskbd
mknod wsmouse c 52 0
mknod wskbd c 52 1
chown root.wheel wsmouse wskbd
chown root:wheel wsmouse wskbd
chmod 600 wsmouse wskbd
;;
@ -170,7 +170,7 @@ ttyEcfg)
chr=47
rm -f ttyEcfg
mknod ttyEcfg c $chr 255
chown root.wheel ttyEcfg
chown root:wheel ttyEcfg
chmod 600 ttyEcfg
;;
@ -178,7 +178,7 @@ ttyE*)
chr=47; unit=${i#ttyE}
rm -f ttyE$unit
mknod ttyE$unit c $chr $unit
chown root.wheel ttyE$unit
chown root:wheel ttyE$unit
;;
wsmouse*)
@ -187,7 +187,7 @@ wsmouse*)
major=49
rm -f $wsmouse
mknod $wsmouse c $major $unit
chown root.wheel $wsmouse
chown root:wheel $wsmouse
chmod 600 $wsmouse
;;
@ -197,7 +197,7 @@ wskbd*)
major=48
rm -f $wskbd
mknod $wskbd c $major $unit
chown root.wheel $wskbd
chown root:wheel $wskbd
chmod 600 $wskbd
;;
@ -209,7 +209,7 @@ fd)
mknod fd/$n c 22 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -292,7 +292,7 @@ com*|tty*) # (XXX -- com should die)
rm -f com$unit tty0$unit dty0$unit
mknod tty0$unit c 8 $(($unit + $dialin ))
mknod dty0$unit c 8 $(($unit + $dialout))
chown uucp.wheel tty0$unit dty0$unit
chown uucp:wheel tty0$unit dty0$unit
;;
pty*)
@ -390,7 +390,7 @@ lpt*|lpa*)
esac
rm -f $name$unit
mknod $name$unit c $chr $(($unit + $flags))
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
bpf*|tun*|mms*|lms*|pms*|joy*)
@ -404,7 +404,7 @@ bpf*|tun*|mms*|lms*|pms*|joy*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
ipl)
@ -413,14 +413,14 @@ ipl)
mknod ipnat c 44 1
mknod ipstate c 44 2
mknod ipauth c 44 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
speaker) # (XXX - installed)
rm -f speaker
mknod speaker c 27 0
chown root.wheel speaker
chown root:wheel speaker
;;
lkm)
@ -443,7 +443,7 @@ audio*)
mknod $audio c $major $(($unit + 128))
mknod $mixer c $major $(($unit + 16))
mknod $audioctl c $major $(($unit + 192))
chown root.wheel $audio $sound $mixer $audioctl
chown root:wheel $audio $sound $mixer $audioctl
chmod 666 $audio $sound $mixer $audioctl
;;
@ -453,7 +453,7 @@ rmidi*)
rmidi=rmidi$unit
rm -f $rmidi
mknod $rmidi c $major $unit
chown root.wheel $rmidi
chown root:wheel $rmidi
chmod 666 $rmidi
;;
@ -466,7 +466,7 @@ music*)
rm -f $sequencer $music
mknod $music c $major $(($unit + 0))
mknod $sequencer c $major $(($unit + 128))
chown root.wheel $music $sequencer
chown root:wheel $music $sequencer
chmod 666 $music $sequencer
;;
@ -481,7 +481,7 @@ random)
rm -f random urandom
mknod random c 46 0
mknod urandom c 46 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;
@ -492,7 +492,7 @@ cfs*)
major=60
rm -f $cfs
mknod $cfs c $major $unit
chown root.wheel $cfs
chown root:wheel $cfs
chmod 600 $cfs
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.28 1999/09/18 00:23:36 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.29 1999/10/06 22:26:15 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -113,7 +113,7 @@ fd)
mknod fd/$n c 21 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -169,7 +169,7 @@ bpf*)
rm -f bpf$unit
mknod bpf$unit c 22 $unit
chmod 600 bpf$unit
chown root.wheel bpf$unit
chown root:wheel bpf$unit
;;
tun*)
@ -177,7 +177,7 @@ tun*)
rm -f tun$unit
mknod tun$unit c 23 $unit
chmod 600 tun$unit
chown root.wheel tun$unit
chown root:wheel tun$unit
;;
ccd*|fd*|raid*|rd*|sd*|vnd*)
@ -334,7 +334,7 @@ ipl)
mknod ipnat c 18 1
mknod ipstate c 18 2
mknod ipauth c 18 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -384,7 +384,7 @@ random)
rm -f random urandom
mknod random c 33 0
mknod urandom c 33 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.3 1999/09/20 00:04:17 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.4 1999/10/06 22:26:17 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -148,7 +148,7 @@ usb*)
major=23
rm -f $usb
mknod $usb c $major $unit
chown root.wheel $usb
chown root:wheel $usb
chmod 600 $usb
;;
@ -158,7 +158,7 @@ uhid*)
major=24
rm -f $uhid
mknod $uhid c $major $unit
chown root.wheel $uhid
chown root:wheel $uhid
chmod 666 $uhid
;;
@ -168,7 +168,7 @@ ulpt*)
major=25
rm -f $ulpt
mknod $ulpt c $major $unit
chown root.wheel $ulpt
chown root:wheel $ulpt
chmod 600 $ulpt
;;
@ -181,7 +181,7 @@ ugen*)
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
chown root.wheel $ugenj
chown root:wheel $ugenj
chmod 600 $ugenj
done
;;
@ -197,7 +197,7 @@ ttyEcfg)
chr=30
rm -f ttyEcfg
mknod ttyEcfg c $chr 255
chown root.wheel ttyEcfg
chown root:wheel ttyEcfg
chmod 600 ttyEcfg
;;
@ -205,7 +205,7 @@ ttyE*)
chr=30; unit=${i#ttyE}
rm -f ttyE$unit
mknod ttyE$unit c $chr $unit
chown root.wheel ttyE$unit
chown root:wheel ttyE$unit
;;
wsmouse*)
@ -214,7 +214,7 @@ wsmouse*)
major=32
rm -f $wsmouse
mknod $wsmouse c $major $unit
chown root.wheel $wsmouse
chown root:wheel $wsmouse
chmod 600 $wsmouse
;;
@ -224,7 +224,7 @@ wskbd*)
major=31
rm -f $wskbd
mknod $wskbd c $major $unit
chown root.wheel $wskbd
chown root:wheel $wskbd
chmod 600 $wskbd
;;
@ -236,7 +236,7 @@ fd)
mknod fd/$n c 22 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -303,7 +303,7 @@ com*|tty*) # (XXX -- com should die)
rm -f com$unit tty0$unit dty0$unit
mknod tty0$unit c 8 $(($unit + $dialin ))
mknod dty0$unit c 8 $(($unit + $dialout))
chown uucp.wheel tty0$unit dty0$unit
chown uucp:wheel tty0$unit dty0$unit
;;
pty*)
@ -400,7 +400,7 @@ lpt*)
esac
rm -f $name$unit
mknod $name$unit c $chr $(($unit + $flags))
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
bpf*|tun*)
@ -410,7 +410,7 @@ bpf*|tun*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
ipl)
@ -419,7 +419,7 @@ ipl)
mknod ipnat c 27 1
mknod ipstate c 27 2
mknod ipauth c 27 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -427,7 +427,7 @@ random)
rm -f random urandom
mknod random c 33 0
mknod urandom c 33 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.95 1999/09/18 00:23:37 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.96 1999/10/06 22:26:15 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -194,7 +194,7 @@ usb*)
major=55
rm -f $usb
mknod $usb c $major $unit
chown root.wheel $usb
chown root:wheel $usb
chmod 600 $usb
;;
@ -204,7 +204,7 @@ uhid*)
major=56
rm -f $uhid
mknod $uhid c $major $unit
chown root.wheel $uhid
chown root:wheel $uhid
chmod 666 $uhid
;;
@ -214,7 +214,7 @@ ulpt*)
major=57
rm -f $ulpt
mknod $ulpt c $major $unit
chown root.wheel $ulpt
chown root:wheel $ulpt
chmod 600 $ulpt
;;
@ -228,7 +228,7 @@ ttyU*)
mknod $ttyU c $major $(($unit + $dialin ))
mknod $dtyU c $major $(($unit + $dialout ))
mknod $ctyU c $major $(($unit + $callunit))
chown uucp.wheel $ttyU $dtyU $ctyU
chown uucp:wheel $ttyU $dtyU $ctyU
chmod 600 $ttyU $dtyU $ctyU
;;
@ -241,7 +241,7 @@ ugen*)
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
chown root.wheel $ugenj
chown root:wheel $ugenj
chmod 600 $ugenj
done
;;
@ -250,7 +250,7 @@ ttyv*)
chr=12; unit=${i#ttyv}
rm -f ttyv$unit
mknod ttyv$unit c $chr $unit
chown root.wheel ttyv$unit
chown root:wheel ttyv$unit
;;
wscons)
@ -265,7 +265,7 @@ wsmux|wsmouse|wskbd)
rm -f wsmouse wskbd
mknod wsmouse c 65 0
mknod wskbd c 65 1
chown root.wheel wsmouse wskbd
chown root:wheel wsmouse wskbd
chmod 600 wsmouse wskbd
;;
@ -273,7 +273,7 @@ ttyEcfg)
chr=47
rm -f ttyEcfg
mknod ttyEcfg c $chr 255
chown root.wheel ttyEcfg
chown root:wheel ttyEcfg
chmod 600 ttyEcfg
;;
@ -281,7 +281,7 @@ ttyE*)
chr=47; unit=${i#ttyE}
rm -f ttyE$unit
mknod ttyE$unit c $chr $unit
chown root.wheel ttyE$unit
chown root:wheel ttyE$unit
;;
wsmouse*)
@ -290,7 +290,7 @@ wsmouse*)
major=49
rm -f $wsmouse
mknod $wsmouse c $major $unit
chown root.wheel $wsmouse
chown root:wheel $wsmouse
chmod 600 $wsmouse
;;
@ -300,7 +300,7 @@ wskbd*)
major=48
rm -f $wskbd
mknod $wskbd c $major $unit
chown root.wheel $wskbd
chown root:wheel $wskbd
chmod 600 $wskbd
;;
@ -313,7 +313,7 @@ fd)
mknod fd/$n c 22 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
fi
@ -397,7 +397,7 @@ com*|tty*) # (XXX -- com should die)
rm -f com$unit tty0$unit dty0$unit
mknod tty0$unit c 8 $(($unit + $dialin ))
mknod dty0$unit c 8 $(($unit + $dialout))
chown uucp.wheel tty0$unit dty0$unit
chown uucp:wheel tty0$unit dty0$unit
;;
pty*)
@ -496,7 +496,7 @@ lpt*|lpa*)
esac
rm -f $name$unit
mknod $name$unit c $chr $(($unit + $flags))
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
bpf*|tun*|mms*|lms*|pms*|joy*)
@ -510,7 +510,7 @@ bpf*|tun*|mms*|lms*|pms*|joy*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
ipl)
@ -519,14 +519,14 @@ ipl)
mknod ipnat c 44 1
mknod ipstate c 44 2
mknod ipauth c 44 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
speaker) # (XXX - installed)
rm -f speaker
mknod speaker c 27 0
chown root.wheel speaker
chown root:wheel speaker
;;
lkm)
@ -549,7 +549,7 @@ audio*)
mknod $audio c $major $(($unit + 128))
mknod $mixer c $major $(($unit + 16))
mknod $audioctl c $major $(($unit + 192))
chown root.wheel $audio $sound $mixer $audioctl
chown root:wheel $audio $sound $mixer $audioctl
chmod 666 $audio $sound $mixer $audioctl
;;
@ -559,7 +559,7 @@ rmidi*)
rmidi=rmidi$unit
rm -f $rmidi
mknod $rmidi c $major $unit
chown root.wheel $rmidi
chown root:wheel $rmidi
chmod 666 $rmidi
;;
@ -572,7 +572,7 @@ music*)
rm -f $sequencer $music
mknod $music c $major $(($unit + 0))
mknod $sequencer c $major $(($unit + 128))
chown root.wheel $music $sequencer
chown root:wheel $music $sequencer
chmod 666 $music $sequencer
;;
@ -580,7 +580,7 @@ apm*)
rm -f apm apmctl
mknod apm c 21 0
mknod apmctl c 21 8
chown root.wheel apm apmctl
chown root:wheel apm apmctl
chmod 644 apm apmctl
;;
@ -595,7 +595,7 @@ random)
rm -f random urandom
mknod random c 46 0
mknod urandom c 46 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;
@ -606,7 +606,7 @@ cfs*)
major=60
rm -f $cfs
mknod $cfs c $major $unit
chown root.wheel $cfs
chown root:wheel $cfs
chmod 600 $cfs
;;

View File

@ -20,7 +20,7 @@
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
# $NetBSD: MAKEDEV,v 1.41 1999/09/18 00:23:37 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.42 1999/10/06 22:26:15 ad Exp $
#
###########################################################################
#
@ -121,7 +121,7 @@ ttye*)
chr=11; unit=${i#ttye}
rm -f ttye$unit ite*
mknod ttye$unit c $chr $unit
chown root.wheel ttye$unit
chown root:wheel ttye$unit
;;
grf*)
@ -145,7 +145,7 @@ fd)
mknod fd/$n c 21 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -211,7 +211,7 @@ tty*)
rm -f ser$unit tty$unit tty0$unit dty0$unit
mknod tty0$unit c 12 $(($unit + $dialin ))
mknod dty0$unit c 12 $(($unit + $dialout))
chown uucp.wheel tty0$unit dty0$unit
chown uucp:wheel tty0$unit dty0$unit
;;
pty*)
@ -307,7 +307,7 @@ bpf*|tun*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
lkm)
@ -323,7 +323,7 @@ ipl)
mknod ipnat c 35 1
mknod ipstate c 35 2
mknod ipauth c 35 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -338,7 +338,7 @@ random)
rm -f random urandom
mknod random c 38 0
mknod urandom c 38 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.19 1999/09/18 00:23:37 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.20 1999/10/06 22:26:15 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -131,14 +131,14 @@ ttye*)
chr=22; unit=${i#ttye}
rm -f ttye$unit
mknod ttye$unit c $chr $unit
chown root.wheel ttye$unit
chown root:wheel ttye$unit
;;
grf*)
chr=23; unit=${i#grf}
rm -f grf$unit
mknod grf$unit c $chr $unit
chown root.wheel grf$unit
chown root:wheel grf$unit
chmod 666 grf$unit
;;
@ -160,7 +160,7 @@ wsmux|wsmouse|wskbd)
rm -f wsmouse wskbd
mknod wsmouse c 43 0
mknod wskbd c 43 1
chown root.wheel wsmouse wskbd
chown root:wheel wsmouse wskbd
chmod 600 wsmouse wskbd
;;
@ -168,7 +168,7 @@ ttyEcfg)
chr=35
rm -f ttyEcfg
mknod ttyEcfg c $chr 255
chown root.wheel ttyEcfg
chown root:wheel ttyEcfg
chmod 600 ttyEcfg
;;
@ -176,7 +176,7 @@ ttyE*)
chr=35; unit=${i#ttyE}
rm -f ttyE$unit
mknod ttyE$unit c $chr $unit
chown root.wheel ttyE$unit
chown root:wheel ttyE$unit
;;
wskbd*)
@ -185,7 +185,7 @@ wskbd*)
major=36
rm -f $wskbd
mknod $wskbd c $major $unit
chown root.wheel $wskbd
chown root:wheel $wskbd
chmod 600 $wskbd
;;
@ -195,7 +195,7 @@ wsmouse*)
major=37
rm -f $wsmouse
mknod $wsmouse c $major $unit
chown root.wheel $wsmouse
chown root:wheel $wsmouse
chmod 600 $wsmouse
;;
@ -207,7 +207,7 @@ fd)
mknod fd/$n c 32 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -264,7 +264,7 @@ ttyU*)
mknod $ttyU c $major $(($unit + $dialin ))
mknod $dtyU c $major $(($unit + $dialout ))
mknod $ctyU c $major $(($unit + $callunit))
chown uucp.wheel $ttyU $dtyU $ctyU
chown uucp:wheel $ttyU $dtyU $ctyU
chmod 600 $ttyU $dtyU $ctyU
;;
@ -273,7 +273,7 @@ tty*)
rm -f tty0$unit dty0$unit
mknod tty0$unit c 12 $(($unit + $dialin ))
mknod dty0$unit c 12 $(($unit + $dialout))
chown uucp.wheel tty0$unit dty0$unit
chown uucp:wheel tty0$unit dty0$unit
;;
pty*)
@ -386,7 +386,7 @@ bpf*|tun*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
ipl)
@ -395,7 +395,7 @@ ipl)
mknod ipnat c 21 1
mknod ipstate c 21 2
mknod ipauth c 21 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -410,7 +410,7 @@ random)
rm -f random urandom
mknod random c 24 0
mknod urandom c 24 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;
@ -418,7 +418,7 @@ random)
nvram)
rm -f nvram
mknod nvram c 33 0
chown root.wheel nvram
chown root:wheel nvram
chmod 644 nvram
;;
@ -443,7 +443,7 @@ usb*)
major=39
rm -f $usb
mknod $usb c $major $unit
chown root.wheel $usb
chown root:wheel $usb
chmod 600 $usb
;;
@ -453,7 +453,7 @@ uhid*)
major=40
rm -f $uhid
mknod $uhid c $major $unit
chown root.wheel $uhid
chown root:wheel $uhid
chmod 666 $uhid
;;
@ -463,7 +463,7 @@ ulpt*)
major=41
rm -f $ulpt
mknod $ulpt c $major $unit
chown root.wheel $ulpt
chown root:wheel $ulpt
chmod 600 $ulpt
;;
@ -476,7 +476,7 @@ ugen*)
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
chown root.wheel $ugenj
chown root:wheel $ugenj
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.21 1999/09/18 00:23:37 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.22 1999/10/06 22:26:16 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -114,7 +114,7 @@ fd)
mknod fd/$n c 21 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -174,14 +174,14 @@ ttyZ*)
unit=${i#????}
rm -f ttyZ$unit
mknod ttyZ$unit c 12 $unit
chown uucp.wheel ttyZ$unit
chown uucp:wheel ttyZ$unit
;;
ttyC*)
unit=${i#????}
rm -f ttyC$unit
mknod ttyC$unit c 13 $unit
chown uucp.wheel ttyC$unit
chown uucp:wheel ttyC$unit
;;
pty*)
@ -277,7 +277,7 @@ lpt*|lpa*)
esac
rm -f $name$unit
mknod $name$unit c $chr $(($unit + $flags))
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
bpf*|tun*)
@ -287,7 +287,7 @@ bpf*|tun*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
lkm)
@ -303,7 +303,7 @@ ipl)
mknod ipnat c 7 1
mknod ipstate c 7 2
mknod ipauth c 7 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -311,7 +311,7 @@ random)
rm -f random urandom
mknod random c 35 0
mknod urandom c 35 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.4 1999/10/06 22:05:25 ad Exp $
# $NetBSD: MAKEDEV,v 1.5 1999/10/06 22:26:16 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -117,7 +117,7 @@ audio)
mknod mixer c 35 16;
mknod sound c 35 128;
chmod 666 audio sound mixer
chown root.wheel audio sound mixer
chown root:wheel audio sound mixer
;;
bpf*)
@ -125,7 +125,7 @@ bpf*)
rm -f bpf$unit
mknod bpf$unit c 24 $unit
chmod 600 bpf$unit
chown root.wheel bpf$unit
chown root:wheel bpf$unit
;;
tun*)
@ -133,7 +133,7 @@ tun*)
rm -f tun$unit
mknod tun$unit c 25 $unit
chmod 600 tun$unit
chown root.wheel tun$unit
chown root:wheel tun$unit
;;
md*)
@ -247,7 +247,7 @@ ipl)
mknod ipnat c 46 1
mknod ipstate c 46 2
mknod ipauth c 46 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -297,14 +297,14 @@ tty*)
unit=${i#???}
rm -f tty0$unit
mknod tty0$unit c 1 $unit
chown uucp.wheel tty0$unit
chown uucp:wheel tty0$unit
;;
random)
rm -f random urandom
mknod random c 47 0
mknod urandom c 47 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -20,7 +20,7 @@
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
# $NetBSD: MAKEDEV,v 1.9 1999/09/21 14:25:46 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.10 1999/10/06 22:26:16 ad Exp $
#
###########################################################################
#
@ -129,7 +129,7 @@ ttye*)
chr=11; unit=${i#ttye}
rm -f ttye$unit ite*
mknod ttye$unit c $chr $unit
chown root.wheel ttye$unit
chown root:wheel ttye$unit
;;
grf*)
@ -157,7 +157,7 @@ wsmux|wsmouse|wskbd)
rm -f wsmouse wskbd
mknod wsmouse c 45 0
mknod wskbd c 45 1
chown root.wheel wsmouse wskbd
chown root:wheel wsmouse wskbd
chmod 600 wsmouse wskbd
;;
@ -165,7 +165,7 @@ ttyEcfg)
chr=41
rm -f ttyEcfg
mknod ttyEcfg c $chr 255
chown root.wheel ttyEcfg
chown root:wheel ttyEcfg
chmod 600 ttyEcfg
;;
@ -173,7 +173,7 @@ ttyE*)
chr=41; unit=${i#ttyE}
rm -f ttyE$unit
mknod ttyE$unit c $chr $unit
chown root.wheel ttyE$unit
chown root:wheel ttyE$unit
;;
wsmouse*)
@ -182,7 +182,7 @@ wsmouse*)
major=43
rm -f $wsmouse
mknod $wsmouse c $major $unit
chown root.wheel $wsmouse
chown root:wheel $wsmouse
chmod 600 $wsmouse
;;
@ -192,7 +192,7 @@ wskbd*)
major=42
rm -f $wskbd
mknod $wskbd c $major $unit
chown root.wheel $wskbd
chown root:wheel $wskbd
chmod 600 $wskbd
;;
@ -204,7 +204,7 @@ fd)
mknod fd/$n c 21 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -268,7 +268,7 @@ tty*)
unit=${i#tty}
rm -f ser$unit tty$unit tty0$unit
mknod tty0$unit c 12 $unit
chown uucp.wheel tty0$unit
chown uucp:wheel tty0$unit
;;
pty*)
@ -364,7 +364,7 @@ bpf*|tun*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
lkm)
@ -380,7 +380,7 @@ ipl)
mknod ipnat c 35 1
mknod ipstate c 35 2
mknod ipauth c 35 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -395,7 +395,7 @@ random)
rm -f random urandom
mknod random c 38 0
mknod urandom c 38 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.24 1999/09/18 00:23:38 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.25 1999/10/06 22:26:16 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -119,7 +119,7 @@ fd)
mknod fd/$n c 11 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -180,7 +180,7 @@ tty*)
rm -f tty0$unit
mknod tty0$unit c 8 $unit
mknod cu0$unit c 8 $(($unit + 128))
chown uucp.wheel tty0$unit cu0$unit
chown uucp:wheel tty0$unit cu0$unit
;;
pty*)
@ -276,7 +276,7 @@ lpt*)
mknod lpt${unit} c 17 $(($unit + 64))
mknod lpt${unit}p c 17 $unit
chmod 0220 lpt${unit} lpt${unit}p
chown root.wheel lpt$unit
chown root:wheel lpt$unit
;;
bpf*|tun*)
@ -286,7 +286,7 @@ bpf*|tun*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
ipl)
@ -295,7 +295,7 @@ ipl)
mknod ipnat c 28 1
mknod ipstate c 28 2
mknod ipauth c 28 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -315,7 +315,7 @@ random)
rm -f random urandom
mknod random c 29 0
mknod urandom c 29 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.48 1999/09/18 00:23:39 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.49 1999/10/06 22:26:16 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -144,7 +144,7 @@ tty[abcd])
rm -f tty$unit dty$unit
mknod tty$unit c 12 $(($index + $dialin ))
mknod dty$unit c 12 $(($index + $dialout))
chown uucp.wheel tty$unit dty$unit
chown uucp:wheel tty$unit dty$unit
;;
ttyC*)
@ -152,7 +152,7 @@ ttyC*)
rm -f ttyC$unit dtyC$unit
mknod ttyC$unit c 36 $(($unit + $dialin ))
mknod dtyC$unit c 36 $(($unit + $dialout))
chown uucp.wheel ttyC$unit dtyC$unit
chown uucp:wheel ttyC$unit dtyC$unit
;;
fd)
@ -163,7 +163,7 @@ fd)
mknod fd/$n c 24 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -223,7 +223,7 @@ audio*)
mknod $audio c $major $(($unit + 128))
mknod $mixer c $major $(($unit + 16))
mknod $audioctl c $major $(($unit + 192))
chown root.wheel $audio $sound $mixer $audioctl
chown root:wheel $audio $sound $mixer $audioctl
chmod 666 $audio $sound $mixer $audioctl
;;
@ -232,7 +232,7 @@ bpf*)
rm -f bpf$unit
mknod bpf$unit c 105 $unit
chmod 600 bpf$unit
chown root.wheel bpf$unit
chown root:wheel bpf$unit
;;
tun*)
@ -240,7 +240,7 @@ tun*)
rm -f tun$unit
mknod tun$unit c 111 $unit
chmod 600 tun$unit
chown root.wheel tun$unit
chown root:wheel tun$unit
;;
md*)
@ -361,7 +361,7 @@ ipl)
mknod ipnat c 25 1
mknod ipstate c 25 2
mknod ipauth c 25 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -411,7 +411,7 @@ random)
rm -f random urandom
mknod random c 119 0
mknod urandom c 119 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.4 1999/09/18 00:23:39 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.5 1999/10/06 22:26:17 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -139,7 +139,7 @@ tty[abcd])
rm -f tty$unit dty$unit
mknod tty$unit c 12 $(($index + $dialin ))
mknod dty$unit c 12 $(($index + $dialout))
chown uucp.wheel tty$unit dty$unit
chown uucp:wheel tty$unit dty$unit
;;
fd)
@ -150,7 +150,7 @@ fd)
mknod fd/$n c 24 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -210,7 +210,7 @@ audio)
mknod $audio c $major $(($unit + 128))
mknod $mixer c $major $(($unit + 16))
mknod $audioctl c $major $(($unit + 192))
chown root.wheel $audio $sound $mixer $audioctl
chown root:wheel $audio $sound $mixer $audioctl
chmod 666 $audio $sound $mixer $audioctl
;;
@ -219,7 +219,7 @@ bpf*)
rm -f bpf$unit
mknod bpf$unit c 105 $unit
chmod 600 bpf$unit
chown root.wheel bpf$unit
chown root:wheel bpf$unit
;;
tun*)
@ -227,7 +227,7 @@ tun*)
rm -f tun$unit
mknod tun$unit c 111 $unit
chmod 600 tun$unit
chown root.wheel tun$unit
chown root:wheel tun$unit
;;
md*)
@ -348,7 +348,7 @@ ipl)
mknod ipnat c 25 1
mknod ipstate c 25 2
mknod ipauth c 25 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -398,7 +398,7 @@ random)
rm -f random urandom
mknod random c 119 0
mknod urandom c 119 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.26 1999/09/18 00:23:39 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.27 1999/10/06 22:26:17 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -137,7 +137,7 @@ fd)
mk fd/$n c 23 $n 666
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
;;

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.26 1999/09/18 00:23:40 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.27 1999/10/06 22:26:17 ad Exp $
#
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@ -124,7 +124,7 @@ fd)
mknod fd/$n c 53 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -200,7 +200,7 @@ random)
rm -f random urandom
mknod random c 67 0
mknod urandom c 67 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;
@ -487,7 +487,7 @@ bpf*)
rm -f bpf$unit
mknod bpf$unit c 56 $unit
chmod 600 bpf$unit
chown root.wheel bpf$unit
chown root:wheel bpf$unit
;;
qd*)
@ -502,7 +502,7 @@ tun*)
rm -f tun$unit
mknod tun$unit c 57 $unit
chmod 600 tun$unit
chown root.wheel tun$unit
chown root:wheel tun$unit
;;
lkm)

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.22 1999/09/18 00:23:40 hubertf Exp $
# $NetBSD: MAKEDEV,v 1.23 1999/10/06 22:26:17 ad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -150,7 +150,7 @@ fd)
mknod fd/$n c 21 $n
n=$(($n + 1))
done
chown -R root.wheel fd
chown -R root:wheel fd
chmod 755 fd
chmod 666 fd/*
;;
@ -434,7 +434,7 @@ bpf*|tun*|par*)
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
chown root:wheel $name$unit
;;
ipl)
@ -443,7 +443,7 @@ ipl)
mknod ipnat c 38 1
mknod ipstate c 38 2
mknod ipauth c 38 3
chown root.wheel ipl ipnat ipstate ipauth
chown root:wheel ipl ipnat ipstate ipauth
chmod 600 ipl ipnat ipstate ipauth
;;
@ -498,7 +498,7 @@ random)
rm -f random urandom
mknod random c 39 0
mknod urandom c 39 1
chown root.wheel random urandom
chown root:wheel random urandom
chmod 444 random
chmod 644 urandom
;;