summaryrefslogtreecommitdiff
path: root/etc/etc.sparc/MAKEDEV
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-09-04 03:28:05 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-09-04 03:28:05 +0000
commitf78006eef602675e1ecf74b8cdea53a0fdc2c4ab (patch)
treee3ac5fd257e4c1c11da14f6dd98c5dc4c60359dc /etc/etc.sparc/MAKEDEV
parent5ba3d4f9c8334e32088c1eeb987e187dfdc1c90b (diff)
add entries for fga, scf, and flash
Diffstat (limited to 'etc/etc.sparc/MAKEDEV')
-rw-r--r--etc/etc.sparc/MAKEDEV38
1 files changed, 37 insertions, 1 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index f6f49e31fc6..b4e95df7751 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.59 1999/08/20 17:00:37 downsj Exp $
+# $OpenBSD: MAKEDEV,v 1.60 1999/09/04 03:28:04 jason Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -661,6 +661,42 @@ bpp*)
mknod bpp${unit} c 104 `add $unit 0`
;;
+fga*)
+ unit=`expr $i : 'fga\(.*\)'`
+ if [ "$unit" != 0 ]; then
+ echo "bad unit $unit for $i"
+ exit 127
+ fi
+ rm -f fga$unit
+ mknod fga$unit c 98 $unit
+ chmod 600 fga$unit
+ chown root.wheel fga$unit
+ ;;
+
+scf*)
+ unit=`expr $i : 'scf\(.*\)'`
+ if [ "$unit" != 0 ]; then
+ echo "bad unit $unit for $i"
+ exit 127
+ fi
+ rm -f scf$unit
+ mknod scf$unit c 107 $unit
+ chmod 600 scf$unit
+ chown root.wheel scf$unit
+ ;;
+
+flash*)
+ unit=`expr $i : 'flash\(.*\)'`
+ if [ "$unit" != 0 ]; then
+ echo "bad unit $unit for $i"
+ exit 127
+ fi
+ rm -f flash$unit
+ mknod flash$unit c 108 $unit
+ chmod 600 flash$unit
+ chown root.wheel flash$unit
+ ;;
+
random|srandom|urandom|prandom|arandom)
rm -f random urandom srandom prandom arandom
mknod random c 119 0