Source-Changes-HG archive

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

[src/trunk]: src/distrib Use "-t ffs" when remounting rootdev read/write.



details:   https://anonhg.NetBSD.org/src/rev/e01f0b10527d
branches:  trunk
changeset: 513886:e01f0b10527d
user:      tv <tv%NetBSD.org@localhost>
date:      Thu Aug 16 19:14:40 2001 +0000

description:
Use "-t ffs" when remounting rootdev read/write.

diffstat:

 distrib/atari/miniroot/install.md   |  4 ++--
 distrib/mvme68k/miniroot/install.md |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r cebdc5809a04 -r e01f0b10527d distrib/atari/miniroot/install.md
--- a/distrib/atari/miniroot/install.md Thu Aug 16 18:29:20 2001 +0000
+++ b/distrib/atari/miniroot/install.md Thu Aug 16 19:14:40 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: install.md,v 1.14 2000/11/04 20:26:29 leo Exp $
+#      $NetBSD: install.md,v 1.15 2001/08/16 19:14:40 tv Exp $
 #
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
        # Mount root rw for convenience of the tester ;-)
        if [ ! -e /tmp/.root_writable ]; then
                __mount_kernfs
-               mount /kern/rootdev / > /dev/null 2>&1
+               mount -t ffs -u /kern/rootdev / > /dev/null 2>&1
                cp /dev/null /tmp/.root_writable
        fi
 }
diff -r cebdc5809a04 -r e01f0b10527d distrib/mvme68k/miniroot/install.md
--- a/distrib/mvme68k/miniroot/install.md       Thu Aug 16 18:29:20 2001 +0000
+++ b/distrib/mvme68k/miniroot/install.md       Thu Aug 16 19:14:40 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: install.md,v 1.2 1999/02/20 16:21:19 scw Exp $
+#      $NetBSD: install.md,v 1.3 2001/08/16 19:14:41 tv Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -67,7 +67,7 @@
        # Just remount the root device read-write.
        __mount_kernfs
        echo "Remounting root read-write..."
-       mount -u /kern/rootdev /
+       mount -t ffs -u /kern/rootdev /
 }
 
 md_get_diskdevs() {



Home | Main Index | Thread Index | Old Index