Module Name: src Committed By: riastradh Date: Wed Feb 26 16:00:48 UTC 2020
Modified Files: src/distrib/amd64/cdroms: etc.rc src/distrib/amd64/installimage: etc.rc src/distrib/amd64/uefi-installimage: etc.rc src/distrib/i386/cdroms: etc.rc src/distrib/i386/installimage: etc.rc src/distrib/sparc64/cdroms/installcd: etc.rc src/distrib/sparc64/instfs: dot.profile src/distrib/vax/cdroms/installcd: etc.rc Log Message: kernfs no longer needs a hacky workaround to make rootdev appear. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/distrib/amd64/cdroms/etc.rc cvs rdiff -u -r1.1 -r1.2 src/distrib/amd64/installimage/etc.rc cvs rdiff -u -r1.1 -r1.2 src/distrib/amd64/uefi-installimage/etc.rc cvs rdiff -u -r1.2 -r1.3 src/distrib/i386/cdroms/etc.rc cvs rdiff -u -r1.1 -r1.2 src/distrib/i386/installimage/etc.rc cvs rdiff -u -r1.2 -r1.3 src/distrib/sparc64/cdroms/installcd/etc.rc cvs rdiff -u -r1.8 -r1.9 src/distrib/sparc64/instfs/dot.profile cvs rdiff -u -r1.3 -r1.4 src/distrib/vax/cdroms/installcd/etc.rc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/amd64/cdroms/etc.rc diff -u src/distrib/amd64/cdroms/etc.rc:1.2 src/distrib/amd64/cdroms/etc.rc:1.3 --- src/distrib/amd64/cdroms/etc.rc:1.2 Mon May 19 15:57:04 2014 +++ src/distrib/amd64/cdroms/etc.rc Wed Feb 26 16:00:48 2020 @@ -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 Index: src/distrib/amd64/installimage/etc.rc diff -u src/distrib/amd64/installimage/etc.rc:1.1 src/distrib/amd64/installimage/etc.rc:1.2 --- src/distrib/amd64/installimage/etc.rc:1.1 Sun Jan 22 03:53:29 2012 +++ src/distrib/amd64/installimage/etc.rc Wed Feb 26 16:00:48 2020 @@ -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 Index: src/distrib/amd64/uefi-installimage/etc.rc diff -u src/distrib/amd64/uefi-installimage/etc.rc:1.1 src/distrib/amd64/uefi-installimage/etc.rc:1.2 --- src/distrib/amd64/uefi-installimage/etc.rc:1.1 Tue Jan 24 11:16:50 2017 +++ src/distrib/amd64/uefi-installimage/etc.rc Wed Feb 26 16:00:48 2020 @@ -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 Index: src/distrib/i386/cdroms/etc.rc diff -u src/distrib/i386/cdroms/etc.rc:1.2 src/distrib/i386/cdroms/etc.rc:1.3 --- src/distrib/i386/cdroms/etc.rc:1.2 Mon May 19 15:57:05 2014 +++ src/distrib/i386/cdroms/etc.rc Wed Feb 26 16:00:48 2020 @@ -1,4 +1,4 @@ -# $NetBSD: etc.rc,v 1.2 2014/05/19 15:57:05 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 Index: src/distrib/i386/installimage/etc.rc diff -u src/distrib/i386/installimage/etc.rc:1.1 src/distrib/i386/installimage/etc.rc:1.2 --- src/distrib/i386/installimage/etc.rc:1.1 Sun Jan 22 03:53:30 2012 +++ src/distrib/i386/installimage/etc.rc Wed Feb 26 16:00:48 2020 @@ -1,4 +1,4 @@ -# $NetBSD: etc.rc,v 1.1 2012/01/22 03:53:30 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 Index: src/distrib/sparc64/cdroms/installcd/etc.rc diff -u src/distrib/sparc64/cdroms/installcd/etc.rc:1.2 src/distrib/sparc64/cdroms/installcd/etc.rc:1.3 --- src/distrib/sparc64/cdroms/installcd/etc.rc:1.2 Mon May 19 15:57:05 2014 +++ src/distrib/sparc64/cdroms/installcd/etc.rc Wed Feb 26 16:00:48 2020 @@ -1,4 +1,4 @@ -# $NetBSD: etc.rc,v 1.2 2014/05/19 15:57:05 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 Index: src/distrib/sparc64/instfs/dot.profile diff -u src/distrib/sparc64/instfs/dot.profile:1.8 src/distrib/sparc64/instfs/dot.profile:1.9 --- src/distrib/sparc64/instfs/dot.profile:1.8 Thu Jan 9 19:17:45 2020 +++ src/distrib/sparc64/instfs/dot.profile Wed Feb 26 16:00:48 2020 @@ -1,4 +1,4 @@ -# $NetBSD: dot.profile,v 1.8 2020/01/09 19:17:45 martin Exp $ +# $NetBSD: dot.profile,v 1.9 2020/02/26 16:00:48 riastradh Exp $ # # Copyright (c) 1997 Perry E. Metzger # Copyright (c) 1994 Christopher G. Demetriou @@ -91,9 +91,6 @@ EOM # examine the dmesg state mount -t kernfs /kern /kern - # hack to get around bugs in kernfs's rootdev/rrootdev lookup. - ls -l /dev/* > /dev/null 2>&1 - # mount the ramdisk read write mount -t ffs -u /kern/rootdev / Index: src/distrib/vax/cdroms/installcd/etc.rc diff -u src/distrib/vax/cdroms/installcd/etc.rc:1.3 src/distrib/vax/cdroms/installcd/etc.rc:1.4 --- src/distrib/vax/cdroms/installcd/etc.rc:1.3 Fri May 30 13:19:42 2014 +++ src/distrib/vax/cdroms/installcd/etc.rc Wed Feb 26 16:00:48 2020 @@ -1,4 +1,4 @@ -# $NetBSD: etc.rc,v 1.3 2014/05/30 13:19:42 martin Exp $ +# $NetBSD: etc.rc,v 1.4 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 - lowmemfail() { cat << "EOM"