Source-Changes-HG archive

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

[src/trunk]: src/distrib/common ROOT.a doesn't resolve to a useful partition, ...



details:   https://anonhg.NetBSD.org/src/rev/a16b589aacd9
branches:  trunk
changeset: 447052:a16b589aacd9
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Sat Dec 29 13:09:35 2018 +0000

description:
ROOT.a doesn't resolve to a useful partition, hardcode wd0a and ld0a for now.

diffstat:

 distrib/common/cgdroot.rc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8333cd97dc80 -r a16b589aacd9 distrib/common/cgdroot.rc
--- a/distrib/common/cgdroot.rc Sat Dec 29 11:35:14 2018 +0000
+++ b/distrib/common/cgdroot.rc Sat Dec 29 13:09:35 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: cgdroot.rc,v 1.3 2018/12/29 01:04:38 alnsn Exp $
+#      $NetBSD: cgdroot.rc,v 1.4 2018/12/29 13:09:35 alnsn Exp $
 #
 # Copyright (c) 2013 Pierre Pronchery <khorben%defora.org@localhost>
 # All rights reserved.
@@ -37,7 +37,7 @@
 umask 022
 
 mounted=
-for dev in NAME=cgd.conf ROOT.a ; do
+for dev in NAME=cgd.conf /dev/wd0a /dev/ld0a ; do
        if mount -o ro $dev /etc/cgd 2>/dev/null ; then
                mounted=$dev
                break



Home | Main Index | Thread Index | Old Index