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

This commit is contained in:
tv 2001-08-16 19:14:40 +00:00
parent c98eaba8e8
commit 0d8e992e48
2 changed files with 4 additions and 4 deletions

View File

@ -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. # Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -67,7 +67,7 @@ md_makerootwritable() {
# Mount root rw for convenience of the tester ;-) # Mount root rw for convenience of the tester ;-)
if [ ! -e /tmp/.root_writable ]; then if [ ! -e /tmp/.root_writable ]; then
__mount_kernfs __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 cp /dev/null /tmp/.root_writable
fi fi
} }

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/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. # Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved. # All rights reserved.
@ -67,7 +67,7 @@ md_makerootwritable() {
# Just remount the root device read-write. # Just remount the root device read-write.
__mount_kernfs __mount_kernfs
echo "Remounting root read-write..." echo "Remounting root read-write..."
mount -u /kern/rootdev / mount -t ffs -u /kern/rootdev /
} }
md_get_diskdevs() { md_get_diskdevs() {