Source-Changes-HG archive

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

[src/trunk]: src/distrib Fix ramdisk overflow:



details:   https://anonhg.NetBSD.org/src/rev/becd3154da20
branches:  trunk
changeset: 976799:becd3154da20
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Oct 04 09:42:48 2020 +0000

description:
Fix ramdisk overflow:

- switch to x_disklabel (drop non-native label support)
- switch to x_fsck_ffs and x_newfs (drop byte-swapped and Apple UFS support)
- switch to more

diffstat:

 distrib/cobalt/ramdisk/list |   9 +++++++--
 distrib/sun2/miniroot/list  |  10 +++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)

diffs (76 lines):

diff -r 460de6d5d2c4 -r becd3154da20 distrib/cobalt/ramdisk/list
--- a/distrib/cobalt/ramdisk/list       Sun Oct 04 09:34:18 2020 +0000
+++ b/distrib/cobalt/ramdisk/list       Sun Oct 04 09:42:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.12 2013/03/22 10:52:21 tsutsui Exp $
+#      $NetBSD: list,v 1.13 2020/10/04 09:45:44 rin Exp $
 
 SRCDIRS external/bsd/less/bin
 SRCDIRS        bin sbin usr.bin usr.sbin
@@ -53,7 +53,7 @@
 
 PROG   usr/bin/ftp
 PROG   usr/bin/gzip    usr/bin/gzcat   usr/bin/gunzip
-PROG   usr/bin/less    usr/bin/more
+PROG   usr/bin/more    usr/bin/less
 PROG   usr/bin/sed
 PROG   usr/bin/tset
 
@@ -62,13 +62,18 @@
 # init invokes the shell as -sh
 ARGVLN sh      -sh
 
+SPECIAL        disklabel       srcdir  distrib/utils/x_disklabel
 SPECIAL        ed              srcdir  distrib/utils/x_ed
+SPECIAL        fsck_ffs        srcdir  distrib/utils/x_fsck_ffs
 SPECIAL        gzip            srcdir  distrib/utils/x_gzip
 SPECIAL        ifconfig        srcdir  distrib/utils/x_ifconfig
+SPECIAL        newfs           srcdir  distrib/utils/x_newfs
 SPECIAL        ping            srcdir  distrib/utils/x_ping
 SPECIAL        route           srcdir  distrib/utils/x_route
 SPECIAL        umount          srcdir  distrib/utils/x_umount
 
+SPECIAL        more            srcdir  distrib/utils/more
+
 LIBS   libhack.o -ledit -lutil -lcurses -lterminfo -lrmt -ll -lm -lz -lprop
 
 COPY   ${DESTDIR}/usr/mdec/boot        usr/mdec/boot
diff -r 460de6d5d2c4 -r becd3154da20 distrib/sun2/miniroot/list
--- a/distrib/sun2/miniroot/list        Sun Oct 04 09:34:18 2020 +0000
+++ b/distrib/sun2/miniroot/list        Sun Oct 04 09:42:48 2020 +0000
@@ -1,5 +1,5 @@
 #
-# $NetBSD: list,v 1.20 2013/11/30 08:27:18 nakayama Exp $
+# $NetBSD: list,v 1.21 2020/10/04 09:42:48 rin Exp $
 #
 
 # The PROM provides a default kernel name of "vmunix"
@@ -127,7 +127,7 @@
 PROG   usr/bin/cksum
 PROG   usr/bin/cmp
 PROG   usr/bin/ftp
-PROG   usr/bin/less    usr/bin/more
+PROG   usr/bin/more    usr/bin/less
 PROG   usr/bin/rsh
 PROG   usr/bin/sed
 PROG   usr/bin/tip
@@ -138,14 +138,18 @@
 # install.md still uses sort
 PROG   usr/bin/sort
 
-SPECIAL        less            srcdir  external/bsd/less/bin/less
 SPECIAL        vi              srcdir  external/bsd/nvi/usr.bin/nvi
 
+SPECIAL        disklabel       srcdir  distrib/utils/x_disklabel
 SPECIAL        ed              srcdir  distrib/utils/x_ed
+SPECIAL        fsck_ffs        srcdir  distrib/utils/x_fsck_ffs
 SPECIAL        gzip            srcdir  distrib/utils/x_gzip
 SPECIAL        ifconfig        srcdir  distrib/utils/x_ifconfig
+SPECIAL        newfs           srcdir  distrib/utils/x_newfs
 SPECIAL        ping            srcdir  distrib/utils/x_ping
 SPECIAL        route           srcdir  distrib/utils/x_route
+
+SPECIAL        more            srcdir  distrib/utils/more
 SPECIAL        edlabel         srcdir  distrib/utils/edlabel
 
 ARGVLN sh -sh



Home | Main Index | Thread Index | Old Index