Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.prep Fix raw partition number for cd(4) nodes.



details:   https://anonhg.NetBSD.org/src/rev/4607fee46ce6
branches:  trunk
changeset: 485504:4607fee46ce6
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sat Apr 29 09:47:01 2000 +0000

description:
Fix raw partition number for cd(4) nodes.

diffstat:

 etc/etc.prep/MAKEDEV |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r dfd6e7d3cf68 -r 4607fee46ce6 etc/etc.prep/MAKEDEV
--- a/etc/etc.prep/MAKEDEV      Sat Apr 29 06:01:08 2000 +0000
+++ b/etc/etc.prep/MAKEDEV      Sat Apr 29 09:47:01 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.1 2000/02/29 15:23:46 nonaka Exp $
+#      $NetBSD: MAKEDEV,v 1.2 2000/04/29 09:47:01 kleink Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -350,9 +350,9 @@
        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 ${name}${unit}c   b $blk $(($unit * 8 + 2))
        mknod r${name}${unit}a  c $chr $(($unit * 8 + 0))
-       mknod r${name}${unit}d  c $chr $(($unit * 8 + 3))
+       mknod r${name}${unit}c  c $chr $(($unit * 8 + 2))
        chgrp operator $name$unit? r$name$unit?
        chmod 640 $name$unit? r$name$unit?
        ;;



Home | Main Index | Thread Index | Old Index