Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Fix cd and md entries since RAW_PART is 2 on sh3 ports.
details: https://anonhg.NetBSD.org/src/rev/0d717455f94d
branches: trunk
changeset: 534152:0d717455f94d
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Jul 18 15:07:48 2002 +0000
description:
Fix cd and md entries since RAW_PART is 2 on sh3 ports.
diffstat:
etc/etc.dreamcast/MAKEDEV | 10 +++++-----
etc/etc.evbsh3/MAKEDEV | 16 +++++++---------
etc/etc.hpcsh/MAKEDEV | 10 +++++-----
etc/etc.mmeye/MAKEDEV | 10 +++++-----
4 files changed, 22 insertions(+), 24 deletions(-)
diffs (146 lines):
diff -r 279d64cc9dd1 -r 0d717455f94d etc/etc.dreamcast/MAKEDEV
--- a/etc/etc.dreamcast/MAKEDEV Thu Jul 18 14:46:11 2002 +0000
+++ b/etc/etc.dreamcast/MAKEDEV Thu Jul 18 15:07:48 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.23 2002/06/27 23:11:29 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.24 2002/07/18 15:07:48 tsutsui Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -176,9 +176,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?
;;
@@ -312,9 +312,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?
;;
diff -r 279d64cc9dd1 -r 0d717455f94d etc/etc.evbsh3/MAKEDEV
--- a/etc/etc.evbsh3/MAKEDEV Thu Jul 18 14:46:11 2002 +0000
+++ b/etc/etc.evbsh3/MAKEDEV Thu Jul 18 15:07:48 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.17 2002/06/19 15:08:41 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.18 2002/07/18 15:07:49 tsutsui Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -151,13 +151,11 @@
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 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))
- chgrp operator $name$unit? r$name$unit?
- chmod 640 $name$unit? r$name$unit?
+# mknod r${name}${unit}a c $chr $(($unit * 8 + 0))
+# mknod r${name}${unit}c c $chr $(($unit * 8 + 2))
+ chgrp operator $name$unit? #r$name$unit?
+ chmod 640 $name$unit? #r$name$unit?
;;
ccd*|fd*|sd*|vnd*|wd*)
@@ -267,9 +265,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?
;;
diff -r 279d64cc9dd1 -r 0d717455f94d etc/etc.hpcsh/MAKEDEV
--- a/etc/etc.hpcsh/MAKEDEV Thu Jul 18 14:46:11 2002 +0000
+++ b/etc/etc.hpcsh/MAKEDEV Thu Jul 18 15:07:48 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.19 2002/06/18 13:40:20 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.20 2002/07/18 15:07:49 tsutsui Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -222,9 +222,9 @@
unit=${i#md}; blk=6; chr=12
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 md${unit}c b $blk $(($unit * 8 + 2))
# mknod rmd${unit}a c $chr $(($unit * 8 + 0))
-# mknod rmd${unit}d c $chr $(($unit * 8 + 3))
+# mknod rmd${unit}c c $chr $(($unit * 8 + 2))
chgrp operator md${unit}? #rmd${unit}?
chmod 640 md${unit}? #rmd${unit}?
;;
@@ -388,9 +388,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?
;;
diff -r 279d64cc9dd1 -r 0d717455f94d etc/etc.mmeye/MAKEDEV
--- a/etc/etc.mmeye/MAKEDEV Thu Jul 18 14:46:11 2002 +0000
+++ b/etc/etc.mmeye/MAKEDEV Thu Jul 18 15:07:48 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.23 2002/06/18 13:54:40 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.24 2002/07/18 15:07:50 tsutsui Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -180,9 +180,9 @@
unit=${i#md}; chr=24; blk=17
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 md${unit}c b $blk $(($unit * 8 + 2))
# mknod rmd${unit}a c $chr $(($unit * 8 + 0))
-# mknod rmd${unit}d c $chr $(($unit * 8 + 3))
+# mknod rmd${unit}c c $chr $(($unit * 8 + 2))
chgrp operator md${unit}? #rmd${unit}?
chmod 640 md${unit}? #rmd${unit}?
;;
@@ -337,9 +337,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