Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/etc.sandpoint 16 partitions
details: https://anonhg.NetBSD.org/src/rev/c7b0e54df0de
branches: trunk
changeset: 518870:c7b0e54df0de
user: briggs <briggs%NetBSD.org@localhost>
date: Fri Dec 07 05:23:41 2001 +0000
description:
16 partitions
diffstat:
etc/etc.sandpoint/MAKEDEV | 66 +++++++++++++++++++++++++++++-----------------
1 files changed, 41 insertions(+), 25 deletions(-)
diffs (96 lines):
diff -r ef45286dba9e -r c7b0e54df0de etc/etc.sandpoint/MAKEDEV
--- a/etc/etc.sandpoint/MAKEDEV Fri Dec 07 05:20:57 2001 +0000
+++ b/etc/etc.sandpoint/MAKEDEV Fri Dec 07 05:23:41 2001 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.5 2001/10/29 22:50:44 augustss Exp $
+# $NetBSD: MAKEDEV,v 1.6 2001/12/07 05:23:41 briggs Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -238,10 +238,10 @@
md*)
unit=${i#md}; blk=17; chr=24;
rm -f md${unit}? rmd${unit}?
- mknod md${unit}a b $blk $(($unit * 8 + 0))
- mknod md${unit}d b $blk $(($unit * 8 + 3))
-# mknod rmd${unit}a c $chr $(($unit * 8 + 0))
-# mknod rmd${unit}d c $chr $(($unit * 8 + 3))
+ mknod md${unit}a b $blk $(($unit * 16 + 0))
+ mknod md${unit}d b $blk $(($unit * 16 + 3))
+# mknod rmd${unit}a c $chr $(($unit * 16 + 0))
+# mknod rmd${unit}d c $chr $(($unit * 16 + 3))
chgrp operator md${unit}? #rmd${unit}?
chmod 640 md${unit}? #rmd${unit}?
;;
@@ -268,22 +268,38 @@
wd*) name=wd; unit=${i#wd}; blk=0; chr=3;;
esac
rm -f $name$unit? r$name$unit?
- mknod ${name}${unit}a b $blk $(($unit * 8 + 0))
- mknod ${name}${unit}b b $blk $(($unit * 8 + 1))
- mknod ${name}${unit}c b $blk $(($unit * 8 + 2))
- mknod ${name}${unit}d b $blk $(($unit * 8 + 3))
- mknod ${name}${unit}e b $blk $(($unit * 8 + 4))
- mknod ${name}${unit}f b $blk $(($unit * 8 + 5))
- mknod ${name}${unit}g b $blk $(($unit * 8 + 6))
- mknod ${name}${unit}h b $blk $(($unit * 8 + 7))
- mknod r${name}${unit}a c $chr $(($unit * 8 + 0))
- mknod r${name}${unit}b c $chr $(($unit * 8 + 1))
- mknod r${name}${unit}c c $chr $(($unit * 8 + 2))
- mknod r${name}${unit}d c $chr $(($unit * 8 + 3))
- mknod r${name}${unit}e c $chr $(($unit * 8 + 4))
- mknod r${name}${unit}f c $chr $(($unit * 8 + 5))
- mknod r${name}${unit}g c $chr $(($unit * 8 + 6))
- mknod r${name}${unit}h c $chr $(($unit * 8 + 7))
+ mknod ${name}${unit}a b $blk $(($unit * 16 + 0))
+ mknod ${name}${unit}b b $blk $(($unit * 16 + 1))
+ mknod ${name}${unit}c b $blk $(($unit * 16 + 2))
+ mknod ${name}${unit}d b $blk $(($unit * 16 + 3))
+ mknod ${name}${unit}e b $blk $(($unit * 16 + 4))
+ mknod ${name}${unit}f b $blk $(($unit * 16 + 5))
+ mknod ${name}${unit}g b $blk $(($unit * 16 + 6))
+ mknod ${name}${unit}h b $blk $(($unit * 16 + 7))
+ mknod ${name}${unit}i b $blk $(($unit * 16 + 8))
+ mknod ${name}${unit}j b $blk $(($unit * 16 + 9))
+ mknod ${name}${unit}k b $blk $(($unit * 16 + 10))
+ mknod ${name}${unit}l b $blk $(($unit * 16 + 11))
+ mknod ${name}${unit}m b $blk $(($unit * 16 + 12))
+ mknod ${name}${unit}n b $blk $(($unit * 16 + 13))
+ mknod ${name}${unit}o b $blk $(($unit * 16 + 14))
+ mknod ${name}${unit}p b $blk $(($unit * 16 + 15))
+ mknod r${name}${unit}a c $chr $(($unit * 16 + 0))
+ mknod r${name}${unit}b c $chr $(($unit * 16 + 1))
+ mknod r${name}${unit}c c $chr $(($unit * 16 + 2))
+ mknod r${name}${unit}d c $chr $(($unit * 16 + 3))
+ mknod r${name}${unit}e c $chr $(($unit * 16 + 4))
+ mknod r${name}${unit}f c $chr $(($unit * 16 + 5))
+ mknod r${name}${unit}g c $chr $(($unit * 16 + 6))
+ mknod r${name}${unit}h c $chr $(($unit * 16 + 7))
+ mknod r${name}${unit}i c $chr $(($unit * 16 + 8))
+ mknod r${name}${unit}j c $chr $(($unit * 16 + 9))
+ mknod r${name}${unit}k c $chr $(($unit * 16 + 10))
+ mknod r${name}${unit}l c $chr $(($unit * 16 + 11))
+ mknod r${name}${unit}m c $chr $(($unit * 16 + 12))
+ mknod r${name}${unit}n c $chr $(($unit * 16 + 13))
+ mknod r${name}${unit}o c $chr $(($unit * 16 + 14))
+ mknod r${name}${unit}p c $chr $(($unit * 16 + 15))
chgrp operator $name$unit? r$name$unit?
chmod 640 $name$unit? r$name$unit?
;;
@@ -396,10 +412,10 @@
cd*) name=cd; unit=${i#cd}; chr=15; blk=6;;
esac
rm -f $name$unit? r$name$unit?
- mknod ${name}${unit}a b $blk $(($unit * 8 + 0))
- mknod ${name}${unit}d b $blk $(($unit * 8 + 3))
- mknod r${name}${unit}a c $chr $(($unit * 8 + 0))
- mknod r${name}${unit}d c $chr $(($unit * 8 + 3))
+ mknod ${name}${unit}a b $blk $(($unit * 16 + 0))
+ mknod ${name}${unit}d b $blk $(($unit * 16 + 3))
+ mknod r${name}${unit}a c $chr $(($unit * 16 + 0))
+ mknod r${name}${unit}d c $chr $(($unit * 16 + 3))
chgrp operator $name$unit? r$name$unit?
chmod 640 $name$unit? r$name$unit?
;;
Home |
Main Index |
Thread Index |
Old Index