summaryrefslogtreecommitdiff
path: root/distrib/amd64
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2020-02-26 16:00:48 +0000
committerriastradh <riastradh@NetBSD.org>2020-02-26 16:00:48 +0000
commit351b91745a0f913a0aeab0729266506174ebafa3 (patch)
treefbea21ed6598f8eb61bfbdc52ee6985ecf564164 /distrib/amd64
parenta76b58162a19f4767a6d203316e8b4e99858115f (diff)
kernfs no longer needs a hacky workaround to make rootdev appear.
Diffstat (limited to 'distrib/amd64')
-rw-r--r--distrib/amd64/cdroms/etc.rc5
-rw-r--r--distrib/amd64/installimage/etc.rc5
-rw-r--r--distrib/amd64/uefi-installimage/etc.rc5
3 files changed, 3 insertions, 12 deletions
diff --git a/distrib/amd64/cdroms/etc.rc b/distrib/amd64/cdroms/etc.rc
index f14c7658b69..f865903a63d 100644
--- a/distrib/amd64/cdroms/etc.rc
+++ b/distrib/amd64/cdroms/etc.rc
@@ -1,4 +1,4 @@
-# $NetBSD: etc.rc,v 1.2 2014/05/19 15:57:04 martin Exp $
+# $NetBSD: etc.rc,v 1.3 2020/02/26 16:00:48 riastradh Exp $
#
# Copyright (c) 1997 Perry E. Metzger
# Copyright (c) 1994 Christopher G. Demetriou
@@ -36,9 +36,6 @@
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
-# hack to get around bugs in kernfs's rootdev/rrootdev lookup.
-ls -l /dev/* > /dev/null 2>&1
-
# mount a few tempfs to allow modifications over the CD contents
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var
diff --git a/distrib/amd64/installimage/etc.rc b/distrib/amd64/installimage/etc.rc
index 5876c183dcd..d3bb36a8b51 100644
--- a/distrib/amd64/installimage/etc.rc
+++ b/distrib/amd64/installimage/etc.rc
@@ -1,4 +1,4 @@
-# $NetBSD: etc.rc,v 1.1 2012/01/22 03:53:29 tsutsui Exp $
+# $NetBSD: etc.rc,v 1.2 2020/02/26 16:00:48 riastradh Exp $
#
# Copyright (c) 1997 Perry E. Metzger
# Copyright (c) 1994 Christopher G. Demetriou
@@ -36,9 +36,6 @@
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
-# hack to get around bugs in kernfs's rootdev/rrootdev lookup.
-ls -l /dev/* > /dev/null 2>&1
-
mount -u /
mount -t tmpfs tmpfs /tmp
diff --git a/distrib/amd64/uefi-installimage/etc.rc b/distrib/amd64/uefi-installimage/etc.rc
index e42fc909338..d3bb36a8b51 100644
--- a/distrib/amd64/uefi-installimage/etc.rc
+++ b/distrib/amd64/uefi-installimage/etc.rc
@@ -1,4 +1,4 @@
-# $NetBSD: etc.rc,v 1.1 2017/01/24 11:16:50 nonaka Exp $
+# $NetBSD: etc.rc,v 1.2 2020/02/26 16:00:48 riastradh Exp $
#
# Copyright (c) 1997 Perry E. Metzger
# Copyright (c) 1994 Christopher G. Demetriou
@@ -36,9 +36,6 @@
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
-# hack to get around bugs in kernfs's rootdev/rrootdev lookup.
-ls -l /dev/* > /dev/null 2>&1
-
mount -u /
mount -t tmpfs tmpfs /tmp