summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-07 06:19:49 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-07 06:19:49 +0000
commit974b2c40cd64e44b24c2099146446c68069b013a (patch)
tree709e3beb293b5e3ed1f1a9ccec51bfd66536c57e
parentc3b0886d6e37324f0fe6ef4ef3fd60f913a162d4 (diff)
16 partitions
-rw-r--r--etc/etc.alpha/MAKEDEV72
1 files changed, 51 insertions, 21 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index c776dd7cfe4..dd84da0b99e 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.12 1996/12/14 18:23:49 millert Exp $
+# $OpenBSD: MAKEDEV,v 1.13 1997/04/07 06:19:48 millert 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.
@@ -116,33 +116,63 @@ fd)
chmod 666 fd/*
;;
-cd*|sd*|vnd*|ccd*)
+sd*|vnd*|ccd*)
umask 2 ; unit=`expr $i : '.*d\(.*\)'`
case $i in
- 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`
- mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1`
- mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2`
- mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
- mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4`
- mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5`
- mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6`
- mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7`
- mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
- mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1`
- mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
- mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3`
- mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4`
- mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
- mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
- mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
- chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h]
- chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
+ mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0`
+ mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1`
+ mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2`
+ mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3`
+ mknod ${name}${unit}e b $blk `expr $unit '*' 16 + 4`
+ mknod ${name}${unit}f b $blk `expr $unit '*' 16 + 5`
+ mknod ${name}${unit}g b $blk `expr $unit '*' 16 + 6`
+ mknod ${name}${unit}h b $blk `expr $unit '*' 16 + 7`
+ mknod ${name}${unit}i b $blk `expr $unit '*' 16 + 8`
+ mknod ${name}${unit}j b $blk `expr $unit '*' 16 + 9`
+ mknod ${name}${unit}k b $blk `expr $unit '*' 16 + 10`
+ mknod ${name}${unit}l b $blk `expr $unit '*' 16 + 11`
+ mknod ${name}${unit}m b $blk `expr $unit '*' 16 + 12`
+ mknod ${name}${unit}n b $blk `expr $unit '*' 16 + 13`
+ mknod ${name}${unit}o b $blk `expr $unit '*' 16 + 14`
+ mknod ${name}${unit}p b $blk `expr $unit '*' 16 + 15`
+ mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0`
+ mknod r${name}${unit}b c $chr `expr $unit '*' 16 + 1`
+ mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2`
+ mknod r${name}${unit}d c $chr `expr $unit '*' 16 + 3`
+ mknod r${name}${unit}e c $chr `expr $unit '*' 16 + 4`
+ mknod r${name}${unit}f c $chr `expr $unit '*' 16 + 5`
+ mknod r${name}${unit}g c $chr `expr $unit '*' 16 + 6`
+ mknod r${name}${unit}h c $chr `expr $unit '*' 16 + 7`
+ mknod r${name}${unit}i c $chr `expr $unit '*' 16 + 8`
+ mknod r${name}${unit}j c $chr `expr $unit '*' 16 + 9`
+ mknod r${name}${unit}k c $chr `expr $unit '*' 16 + 10`
+ mknod r${name}${unit}l c $chr `expr $unit '*' 16 + 11`
+ mknod r${name}${unit}m c $chr `expr $unit '*' 16 + 12`
+ mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13`
+ mknod r${name}${unit}o c $chr `expr $unit '*' 16 + 14`
+ mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
+ chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p]
+ chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p]
+ umask 77
+ ;;
+
+cd*)
+ umask 2 ; unit=`expr $i : '.*cd\(.*\)'`
+ 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 '*' 16 + 0`
+ mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2`
+ mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0`
+ mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2`
+ chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p]
+ chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p]
umask 77
;;