Source-Changes-HG archive

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

[src/trunk]: src/etc Remove rz/tz support for pmax, switch to MI SCSI.



details:   https://anonhg.NetBSD.org/src/rev/a53c10ee981a
branches:  trunk
changeset: 514228:a53c10ee981a
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Aug 26 11:55:38 2001 +0000

description:
Remove rz/tz support for pmax, switch to MI SCSI.

diffstat:

 etc/etc.pmax/MAKEDEV  |  36 ++++++------------------------------
 etc/etc.pmax/fstab.rz |   5 -----
 etc/etc.pmax/fstab.sd |   5 +++++
 etc/security          |   6 +++---
 4 files changed, 14 insertions(+), 38 deletions(-)

diffs (121 lines):

diff -r 48f41cc086ac -r a53c10ee981a etc/etc.pmax/MAKEDEV
--- a/etc/etc.pmax/MAKEDEV      Sun Aug 26 11:47:18 2001 +0000
+++ b/etc/etc.pmax/MAKEDEV      Sun Aug 26 11:55:38 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.38 2000/07/27 18:43:30 mason Exp $
+#      $NetBSD: MAKEDEV,v 1.39 2001/08/26 11:55:39 simonb Exp $
 #
 #      from: @(#)MAKEDEV       8.1 (Berkeley) 6/9/93
 #
@@ -18,10 +18,8 @@
 #      std     standard devices
 #      local   configuration specific devices
 # Tapes:
-#      tz*     SCSI tapes, DEC TK50 cartridge tape
 #      st*     MI SCSI tape drives
 # Disks:
-#      rz*     SCSI disks
 #      ccd*    concatenated disk driver
 #      cd*     MI SCSI cdroms
 #      md*     memory pseudo-disk devices
@@ -73,16 +71,15 @@
        sh $0 ipl random lkm
        sh $0 local
        sh $0 audio
-#      sh $0 cd0
-#      sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7
-#      sh $0 st0 st1
        sh $0 scsibus0 scsibus1 scsibus2 scsibus3
        ;;
 
 minimal)
        sh $0 std
-       sh $0 rz0 rz1 rz2 rz3 rz4 rz5 rz6 rz7 tz0 tz1
-       sh $0 rz8 rz9 rz10 rz11 rz12 rz13 rz14 tz2 tz3
+       sh $0 cd0
+       sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7
+       sh $0 sd8 sd9 sd10 sd11 sd12 sd13 sd14 sd15
+       sh $0 st0 st1
        sh $0 md0 dz0 zs0 pty0
        ;;
 
@@ -123,26 +120,6 @@
        ln -fs audioctl0 audioctl
        ;;
 
-tz*)
-       case $i in
-       tz*) unit=${i#tz}; chr=10;;
-       esac
-       case $unit in
-       [0-6])
-               rm -f rmt$unit nrmt$unit rmth$unit nrmth$unit
-               mknod rmt$unit c $chr   $(($unit * 16 + 0))
-               mknod nrmt$unit c $chr  $(($unit * 16 + 1))
-               mknod rmth$unit c $chr  $(($unit * 16 + 2))
-               mknod nrmth$unit c $chr $(($unit * 16 + 3))
-               chgrp operator rmt$unit nrmt$unit rmth$unit nrmth$unit
-               chmod 660 rmt$unit nrmt$unit rmth$unit nrmth$unit
-               ;;
-       *)
-               echo bad unit for tape in: $i
-               ;;
-       esac
-       ;;
-
 bpf*|tun*)
        case $i in
        bpf*) name=bpf; unit=${i#bpf};  chr=12;;
@@ -189,9 +166,8 @@
        chmod 640 md${unit}? #rmd${unit}?
        ;;
 
-rz*|ccd*|cd*|raid*|sd*|vnd*)
+ccd*|cd*|raid*|sd*|vnd*)
        case $i in
-       rz*)    name=rz;        unit=${i#rz};   blk=21; chr=56;;
        ccd*)   name=ccd;       unit=${i#ccd};  blk=24; chr=87;;
        cd*)    name=cd;        unit=${i#cd};   blk=25; chr=47;;
        raid*)  name=raid;      unit=${i#raid}; blk=32; chr=96;;
diff -r 48f41cc086ac -r a53c10ee981a etc/etc.pmax/fstab.rz
--- a/etc/etc.pmax/fstab.rz     Sun Aug 26 11:47:18 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-#      $NetBSD: fstab.rz,v 1.3 1998/01/09 06:09:43 perry Exp $
-#
-/dev/rz0a      /               ffs     rw 1 1
-#/dev/rz0d     /var            ffs     rw 1 2
-#/dev/rz0h     /usr            ffs     rw 1 3
diff -r 48f41cc086ac -r a53c10ee981a etc/etc.pmax/fstab.sd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/etc.pmax/fstab.sd     Sun Aug 26 11:55:38 2001 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: fstab.sd,v 1.1 2001/08/26 11:55:39 simonb Exp $
+#
+/dev/sd0a      /               ffs     rw 1 1
+#/dev/sd0d     /var            ffs     rw 1 2
+#/dev/sd0h     /usr            ffs     rw 1 3
diff -r 48f41cc086ac -r a53c10ee981a etc/security
--- a/etc/security      Sun Aug 26 11:47:18 2001 +0000
+++ b/etc/security      Sun Aug 26 11:55:38 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.56 2001/06/18 10:54:02 lukem Exp $
+#      $NetBSD: security,v 1.57 2001/08/26 11:55:38 simonb Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -531,8 +531,8 @@
        # Check for block and character disk devices that are readable or
        # writeable or not owned by root.operator.
        >$TMP1
-       DISKLIST="acd ccd cd ch fd hk hp mcd md ra rb rd rl rx rz \
-           sd se ss tz uk up vnd wd xd xy"
+       DISKLIST="acd ccd cd ch fd hk hp mcd md ra rb rd rl rx \
+           sd se ss uk up vnd wd xd xy"
 #      DISKLIST="$DISKLIST ct mt st wt"
        for i in $DISKLIST; do
                egrep "^b.*/${i}[0-9][0-9]*[a-p]$"  $LIST >> $TMP1



Home | Main Index | Thread Index | Old Index