summaryrefslogtreecommitdiff
path: root/etc/etc.alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-23 10:07:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-23 10:07:32 +0000
commit37efd5a7fbb447c038a422f0421b8e033b4ad171 (patch)
tree6c48c5508e5bab7d2e24bba5be813c01411c56ae /etc/etc.alpha
parent052defc91db711ac97a36154dfef12c0a1c5de1e (diff)
sync to 0622
Diffstat (limited to 'etc/etc.alpha')
-rw-r--r--etc/etc.alpha/MAKEDEV28
1 files changed, 7 insertions, 21 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index 2b8edc1a533..aa0c63815bc 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.4 1996/03/28 18:24:36 niklas Exp $
-# $NetBSD: MAKEDEV,v 1.8 1996/03/11 19:21:37 cgd Exp $
+# $OpenBSD: MAKEDEV,v 1.5 1996/06/23 10:07:24 deraadt Exp $
+# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -112,12 +112,13 @@ fd)
chmod 666 fd/*
;;
-sd*|vnd*|ccd*)
+cd*|sd*|vnd*|ccd*)
umask 2 ; unit=`expr $i : '.*d\(.*\)'`
case $i in
- sd*) name=sd; blk=8; chr=8;;
- vnd*) name=vnd; blk=9; chr=9;;
- ccd*) name=ccd; blk=7; chr=27;;
+ cd*) name=cd; blk=3; chr=13;;
+ sd*) name=sd; blk=8; chr=8;;
+ vnd*) name=vnd; blk=9; chr=9;;
+ ccd*) name=ccd; blk=7; chr=27;;
esac
rm -f $name$unit? r$name$unit?
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
@@ -219,21 +220,6 @@ ch*)
umask 77
;;
-cd*)
- umask 2 ; unit=`expr $i : '..\(.*\)'`
- case $i in
- cd*) name=cd; blk=3; chr=13;;
- esac
- rm -f $name$unit? r$name$unit?
- mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
- mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 3`
- mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
- mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 3`
- chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
- chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
- umask 77
- ;;
-
bpf*)
unit=`expr $i : 'bpf\(.*\)'`
rm -f bpf$unit