Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/etc/etc.i386 Pull up revision 1.132 (requested by fvdl):



details:   https://anonhg.NetBSD.org/src/rev/167e4303573c
branches:  netbsd-1-5
changeset: 491522:167e4303573c
user:      he <he%NetBSD.org@localhost>
date:      Tue May 01 12:26:48 2001 +0000

description:
Pull up revision 1.132 (requested by fvdl):
  Increase the number of BSD disklabel partitions on i386 to 16.

diffstat:

 etc/etc.i386/MAKEDEV |  20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diffs (50 lines):

diff -r 3e1ece7ec412 -r 167e4303573c etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV      Tue May 01 12:12:13 2001 +0000
+++ b/etc/etc.i386/MAKEDEV      Tue May 01 12:26:48 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.118.2.4 2000/12/31 18:25:35 jhawk Exp $
+#      $NetBSD: MAKEDEV,v 1.118.2.5 2001/05/01 12:26:48 he Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -115,6 +115,8 @@
 dialout=524288         # high bit of the minor number
 callunit=262144
 
+highpartoffset=524280  # offset for partition 9 to 16
+
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 umask 77
 
@@ -400,6 +402,14 @@
        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 ${name}${unit}i   b $blk $(($unit * 8 + $highpartoffset + 8))
+       mknod ${name}${unit}j   b $blk $(($unit * 8 + $highpartoffset + 9))
+       mknod ${name}${unit}k   b $blk $(($unit * 8 + $highpartoffset + 10))
+       mknod ${name}${unit}l   b $blk $(($unit * 8 + $highpartoffset + 11))
+       mknod ${name}${unit}m   b $blk $(($unit * 8 + $highpartoffset + 12))
+       mknod ${name}${unit}n   b $blk $(($unit * 8 + $highpartoffset + 13))
+       mknod ${name}${unit}o   b $blk $(($unit * 8 + $highpartoffset + 14))
+       mknod ${name}${unit}p   b $blk $(($unit * 8 + $highpartoffset + 15))
        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))
@@ -408,6 +418,14 @@
        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 r${name}${unit}i  c $chr $(($unit * 8 + $highpartoffset + 8))
+       mknod r${name}${unit}j  c $chr $(($unit * 8 + $highpartoffset + 9))
+       mknod r${name}${unit}k  c $chr $(($unit * 8 + $highpartoffset + 10))
+       mknod r${name}${unit}l  c $chr $(($unit * 8 + $highpartoffset + 11))
+       mknod r${name}${unit}m  c $chr $(($unit * 8 + $highpartoffset + 12))
+       mknod r${name}${unit}n  c $chr $(($unit * 8 + $highpartoffset + 13))
+       mknod r${name}${unit}o  c $chr $(($unit * 8 + $highpartoffset + 14))
+       mknod r${name}${unit}p  c $chr $(($unit * 8 + $highpartoffset + 15))
        chgrp operator $name$unit? r$name$unit?
        chmod 640 $name$unit? r$name$unit?
        ;;



Home | Main Index | Thread Index | Old Index