diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-23 03:18:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-23 03:18:49 +0000 |
commit | bab8e641c447b3d9ca471c5fe1244b190c479b79 (patch) | |
tree | 02305661b621846c4ffbd092483cde299d6baf6b /etc/etc.i386/MAKEDEV | |
parent | ef66b20c1c38c380c7524dbe77f613dd418b23a9 (diff) |
sync with netbsd 960418
Diffstat (limited to 'etc/etc.i386/MAKEDEV')
-rw-r--r-- | etc/etc.i386/MAKEDEV | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index a73d9b8f500..cafbfe5823e 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -1,5 +1,7 @@ #!/bin/sh - # +# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ +# # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. # @@ -39,6 +41,7 @@ # cd* SCSI CD-ROM # mcd* Mitsumi CD-ROM # vnd* "file" pseudo-disks +# rd* "ramdisk" pseudo-disks # ccd* contatenated disk devices # # Console ports: @@ -86,7 +89,7 @@ all) sh MAKEDEV st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1 sh MAKEDEV ccd0 ccd1 ccd2 ccd3 sh MAKEDEV lpt0 lpt1 lpt2 ttyv0 bpf0 bpf1 bpf2 bpf3 ipl tun0 tun1 tun2 - sh MAKEDEV speaker lkm mms0 lms0 pms0 audio local joy0 joy1 + sh MAKEDEV speaker lkm mms0 lms0 pms0 audio joy0 joy1 local # MISSING: # sh MAKEDEV mouse-? ;; @@ -151,6 +154,15 @@ wt*) umask 77 ;; +rd*) + umask 2 ; unit=`expr $i : '.*d\(.*\)'` + mknod rd${unit} b 17 $unit +# mknod rrd${unit} c 9 $unit + chgrp operator rd${unit} rrd${unit} + chmod 640 rd${unit} rrd${unit} + umask 77 + ;; + ccd*|fd*|sd*|vnd*|wd*) umask 2 ; unit=`expr $i : '.*d\(.*\)'` case $i in @@ -362,7 +374,15 @@ pcmcia*) chmod 700 pcmcia chmod 600 pcmcia/* ;; - + +joy*) + unit=`expr $i : 'joy\(.*\)'` + rm -f joy$unit + mknod joy$unit c 26 $unit + chown root.wheel joy$unit + chmod 666 joy$unit + ;; + local) umask 0 sh MAKEDEV.local |