Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src the memory disk ('md') driver is just the standard machine-i...
details: https://anonhg.NetBSD.org/src/rev/a0ee6e1b570e
branches: trunk
changeset: 474048:a0ee6e1b570e
user: cgd <cgd%NetBSD.org@localhost>
date: Sun Jun 27 00:17:31 1999 +0000
description:
the memory disk ('md') driver is just the standard machine-independent
driver. Therefore, create and name its device nodes in the normal way.
diffstat:
distrib/arm32/ramdisk/dot.profile | 4 ++--
distrib/arm32/ramdisk/install.tmpl | 4 ++--
etc/etc.arm32/MAKEDEV | 15 +++------------
3 files changed, 7 insertions(+), 16 deletions(-)
diffs (79 lines):
diff -r d4a339857804 -r a0ee6e1b570e distrib/arm32/ramdisk/dot.profile
--- a/distrib/arm32/ramdisk/dot.profile Sat Jun 26 23:17:04 1999 +0000
+++ b/distrib/arm32/ramdisk/dot.profile Sun Jun 27 00:17:31 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.5 1999/06/26 06:12:53 cgd Exp $
+# $NetBSD: dot.profile,v 1.6 1999/06/27 00:17:31 cgd Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# Copyright (c) 1997 Perry E. Metzger
@@ -39,7 +39,7 @@
umask 022
-ROOTDEV=/dev/md0
+ROOTDEV=/dev/md0a
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff -r d4a339857804 -r a0ee6e1b570e distrib/arm32/ramdisk/install.tmpl
--- a/distrib/arm32/ramdisk/install.tmpl Sat Jun 26 23:17:04 1999 +0000
+++ b/distrib/arm32/ramdisk/install.tmpl Sun Jun 27 00:17:31 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: install.tmpl,v 1.3 1999/01/25 23:34:21 garbled Exp $
+# $NetBSD: install.tmpl,v 1.4 1999/06/27 00:17:31 cgd Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# Copyright (c) 1997 Perry E. Metzger
@@ -44,7 +44,7 @@
FSTABDIR=/mnt/etc # /mnt/etc
#DONTDOIT=echo
ASYNC="-o async"
-ROOTDEV=/dev/md0
+ROOTDEV=/dev/md0a
FSTAB=${FSTABDIR}/fstab
diff -r d4a339857804 -r a0ee6e1b570e etc/etc.arm32/MAKEDEV
--- a/etc/etc.arm32/MAKEDEV Sat Jun 26 23:17:04 1999 +0000
+++ b/etc/etc.arm32/MAKEDEV Sun Jun 27 00:17:31 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.32 1999/06/26 22:58:06 cgd Exp $
+# $NetBSD: MAKEDEV,v 1.33 1999/06/27 00:17:31 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -219,10 +219,11 @@
chmod 666 fd/*
;;
-ccd*|fd*|raid*|sd*|vnd*|wd*)
+ccd*|fd*|md*|raid*|sd*|vnd*|wd*)
case $i in
ccd*) name=ccd; unit=${i#ccd}; blk=21; chr=21;;
fd*) name=fd; unit=${i#fd}; blk=17; chr=17;;
+ md*) name=md; unit=${i#md}; blk=18; chr=18;;
raid*) name=raid; unit=${i#raid}; blk=71; chr=71;;
sd*) name=sd; unit=${i#sd}; blk=24; chr=24;;
vnd*) name=vnd; unit=${i#vnd}; blk=19; chr=19;;
@@ -355,16 +356,6 @@
chmod 640 $name$unit? r$name$unit?
;;
-md*)
- unit=${i#md}
- rm -f md${unit}
- rm -f md${unit}c
- mknod md${unit} b 18 ${unit}
- mknod md${unit}c c 18 $((($unit + 16) * 8))
- chgrp operator md${unit} md${unit}c
- chmod 640 md${unit} md${unit}c
- ;;
-
lpt*|lpa*)
case $i in
lpt*) name=lpt; unit=${i#lpt}; chr=8; flags=0;;
Home |
Main Index |
Thread Index |
Old Index