From: downsj Date: Thu, 12 Sep 1996 05:07:52 +0000 (+0000) Subject: Support 16 partitions. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6e3e437e3b8e871c7a3ea9a8423e3aba259262f1;p=openbsd Support 16 partitions. --- diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV index 60b068b8100..7cbbc49bb28 100644 --- a/etc/etc.sparc/MAKEDEV +++ b/etc/etc.sparc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.7 1996/08/28 08:55:28 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.8 1996/09/12 05:07:52 downsj Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -177,25 +177,41 @@ ccd*|fd*|sd*|xd*|xy*|cd*|vnd*) case $unit in 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|\ 17|18|19|20|21|22|23|24|25|26|27|28|29|30|31) - rm -f ${name}${unit}[a-h] r${name}${unit}[a-h] - mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` - mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` - mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` - mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` - 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}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` - chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] - chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] + rm -f ${name}${unit}[a-p] r${name}${unit}[a-p] + mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2` + mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2` + mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0` + mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1` + 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}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` + chgrp operator ${name}${unit}[a-p] r${name}${unit}[a-p] + chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] ;; *) echo bad unit for disk in: $i