Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.arm32 Oops, I've forgotten to commit this on Jan 21.



details:   https://anonhg.NetBSD.org/src/rev/134706435a34
branches:  trunk
changeset: 481964:134706435a34
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Feb 10 16:45:37 2000 +0000

description:
Oops, I've forgotten to commit this on Jan 21.
>- rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
>- now raw partitions are used for memory disk ioctls

diffstat:

 etc/etc.arm32/MAKEDEV |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r c3fb6c9f80b1 -r 134706435a34 etc/etc.arm32/MAKEDEV
--- a/etc/etc.arm32/MAKEDEV     Thu Feb 10 15:51:59 2000 +0000
+++ b/etc/etc.arm32/MAKEDEV     Thu Feb 10 16:45:37 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.44 1999/12/18 03:09:45 tsutsui Exp $
+#      $NetBSD: MAKEDEV,v 1.45 2000/02/10 16:45:37 tsutsui Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -239,12 +239,13 @@
 
 md*)
        unit=${i#md}; blk=18; chr=18;
-       rm -f md${unit} md${unit}c rmd${unit}
-       mknod md${unit}  b $blk $((($unit +  0) * 8))
-       mknod md${unit}c b $blk $((($unit + 16) * 8))
-#      mknod rmd${unit} c $chr $((($unit + 16) * 8))
-       chgrp operator md${unit} md${unit}c #rmd${unit}
-       chmod 640 md${unit} md${unit}c #rmd${unit}
+       rm -f md${unit}? rmd${unit}?
+       mknod md${unit}a  b $blk $(($unit * 8 + 0))
+       mknod md${unit}c  b $blk $(($unit * 8 + 2))
+#      mknod rmd${unit}a c $chr $(($unit * 8 + 0))
+#      mknod rmd${unit}c c $chr $(($unit * 8 + 2))
+       chgrp operator md${unit}? #rmd${unit}?
+       chmod 640 md${unit}? #rmd${unit}?
        ;;
 
 ccd*|fd*|raid*|sd*|vnd*|wd*)



Home | Main Index | Thread Index | Old Index