Port-i386 archive

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

Re: netbsd-3 floppy overflow



On Tue, Oct 07, 2008 at 02:34:44PM +0200, Manuel Bouyer wrote:
> This seems to work. Attached is my updated patch.

Really attached, this time

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--
Index: distrib/i386/floppies/common/dot.profile
===================================================================
RCS file: /cvsroot/src/distrib/i386/floppies/common/Attic/dot.profile,v
retrieving revision 1.4
diff -u -r1.4 dot.profile
--- distrib/i386/floppies/common/dot.profile    7 Dec 2003 20:03:18 -0000       
1.4
+++ distrib/i386/floppies/common/dot.profile    7 Oct 2008 12:32:25 -0000
@@ -66,13 +66,9 @@
        # mount the ramdisk read write
        mount -u $ROOTDEV /
 
-       # mount the kern_fs so that we can examine the dmesg state
-       mount -t kernfs /kern /kern
-
        # pull in the functions that people will use from the shell prompt.
        # . /.commonutils
        # . /.instutils
-       dmesg() cat /kern/msgbuf
        grep() sed -n "/$1/p"
 
        if [ -x /sysinst ]; then
Index: distrib/i386/floppies/ramdisk-big/list
===================================================================
RCS file: /cvsroot/src/distrib/i386/floppies/ramdisk-big/Attic/list,v
retrieving revision 1.22
diff -u -r1.22 list
--- distrib/i386/floppies/ramdisk-big/list      18 Jan 2005 12:38:45 -0000      
1.22
+++ distrib/i386/floppies/ramdisk-big/list      7 Oct 2008 12:32:25 -0000
@@ -25,6 +25,7 @@
 
 PROG   sbin/dhclient
 PROG   sbin/disklabel
+PROG   sbin/dmesg
 PROG   sbin/fdisk
 PROG   sbin/fsck
 PROG   sbin/fsck_ffs
@@ -36,7 +37,6 @@
 PROG   sbin/mount_cd9660
 PROG   sbin/mount_ext2fs
 PROG   sbin/mount_ffs
-PROG   sbin/mount_kernfs
 PROG   sbin/mount_msdos
 PROG   sbin/mount_nfs
 PROG   sbin/mount_ntfs
@@ -70,6 +70,7 @@
 SPECIAL        ifconfig        srcdir  distrib/utils/x_ifconfig
 SPECIAL        ping            srcdir  distrib/utils/x_ping
 SPECIAL        route           srcdir  distrib/utils/x_route
+SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
 
 LIBS   libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm 
-lz
 
Index: distrib/i386/floppies/ramdisk-rescuetiny/list
===================================================================
RCS file: /cvsroot/src/distrib/i386/floppies/ramdisk-rescuetiny/Attic/list,v
retrieving revision 1.15
diff -u -r1.15 list
--- distrib/i386/floppies/ramdisk-rescuetiny/list       18 Apr 2004 19:50:34 
-0000      1.15
+++ distrib/i386/floppies/ramdisk-rescuetiny/list       7 Oct 2008 12:32:26 
-0000
@@ -20,6 +20,7 @@
 PROG   bin/sync
 
 PROG   sbin/disklabel
+PROG   sbin/dmesg
 PROG   sbin/fdisk
 PROG   sbin/fsck
 PROG   sbin/fsck_ffs
@@ -30,7 +31,6 @@
 PROG   sbin/mount
 PROG   sbin/mount_cd9660
 PROG   sbin/mount_ffs
-PROG   sbin/mount_kernfs
 PROG   sbin/mount_msdos
 PROG   sbin/mount_nfs
 PROG   sbin/newfs      sbin/mount_mfs
@@ -60,5 +60,6 @@
 SPECIAL        route           srcdir  distrib/utils/x_route
 SPECIAL        umount          srcdir  distrib/utils/x_umount
 SPECIAL gzip           srcdir  distrib/utils/x_gzip
+SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
 
 LIBS   libhack.o -lbz2 -ltermcap -lutil -lrmt -ll -lm -lz
Index: distrib/i386/floppies/ramdisk-small/list
===================================================================
RCS file: /cvsroot/src/distrib/i386/floppies/ramdisk-small/Attic/list,v
retrieving revision 1.15
diff -u -r1.15 list
--- distrib/i386/floppies/ramdisk-small/list    27 Dec 2003 20:57:21 -0000      
1.15
+++ distrib/i386/floppies/ramdisk-small/list    7 Oct 2008 12:32:26 -0000
@@ -21,6 +21,7 @@
 PROG   bin/sync
 
 PROG   sbin/disklabel
+PROG   sbin/dmesg
 PROG   sbin/fdisk
 PROG   sbin/fsck
 PROG   sbin/fsck_ffs
@@ -31,7 +32,6 @@
 PROG   sbin/mount
 PROG   sbin/mount_cd9660
 PROG   sbin/mount_ffs
-PROG   sbin/mount_kernfs
 PROG   sbin/mount_msdos
 PROG   sbin/mount_nfs
 PROG   sbin/newfs      sbin/mount_mfs
@@ -62,5 +62,6 @@
 SPECIAL        ping            srcdir  distrib/utils/x_ping
 SPECIAL        route           srcdir  distrib/utils/x_route
 SPECIAL        umount          srcdir  distrib/utils/x_umount
+SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
 
 LIBS   libhack.o -lbz2 -lutil -lcurses -ltermcap -lcrypt -ll -lm -lrmt -lz
Index: distrib/i386/floppies/ramdisk-tiny/list
===================================================================
RCS file: /cvsroot/src/distrib/i386/floppies/ramdisk-tiny/Attic/list,v
retrieving revision 1.16
diff -u -r1.16 list
--- distrib/i386/floppies/ramdisk-tiny/list     6 Oct 2004 21:28:12 -0000       
1.16
+++ distrib/i386/floppies/ramdisk-tiny/list     7 Oct 2008 12:32:26 -0000
@@ -14,6 +14,7 @@
 PROG   bin/stty
 
 PROG   sbin/disklabel
+PROG   sbin/dmesg
 PROG   sbin/fsck
 PROG   sbin/fsck_ffs
 PROG   sbin/ifconfig
@@ -22,7 +23,6 @@
 PROG   sbin/mount
 PROG   sbin/mount_cd9660
 PROG   sbin/mount_ffs
-PROG   sbin/mount_kernfs
 PROG   sbin/mount_msdos
 PROG   sbin/mount_nfs
 PROG   sbin/newfs      sbin/mount_mfs
@@ -47,5 +47,6 @@
 SPECIAL        route           srcdir  distrib/utils/x_route
 SPECIAL        umount          srcdir  distrib/utils/x_umount
 SPECIAL        gzip            srcdir  distrib/utils/x_gzip
+SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
 
 LIBS   libhack.o -lbz2 -lutil -lcurses -ltermcap -lcrypt -ll -lm -lz
Index: sys/arch/i386/conf/INSTALL
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/Attic/INSTALL,v
retrieving revision 1.262.2.10
diff -u -r1.262.2.10 INSTALL
--- sys/arch/i386/conf/INSTALL  31 Mar 2007 15:25:34 -0000      1.262.2.10
+++ sys/arch/i386/conf/INSTALL  7 Oct 2008 12:32:39 -0000
@@ -112,7 +112,7 @@
 file-system    CD9660          # ISO 9660 + Rock Ridge file system
 file-system    MSDOSFS         # MS-DOS file system
 #file-system   FDESC           # /dev/fd
-file-system    KERNFS          # /kern
+#file-system   KERNFS          # /kern
 #file-system   NULLFS          # loopback file system
 #file-system   PORTAL          # portal filesystem (still experimental)
 #file-system   PROCFS          # /proc
@@ -277,8 +277,8 @@
 wskbd*         at pckbd? console ?
 #wsmouse*      at pms? mux 0
 
-pcppi0         at isa?
-sysbeep0       at pcppi?
+#pcppi0                at isa?
+#sysbeep0      at pcppi?
 
 # Serial Devices
 
Index: sys/arch/i386/conf/INSTALL_LAPTOP
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/Attic/INSTALL_LAPTOP,v
retrieving revision 1.83.2.6
diff -u -r1.83.2.6 INSTALL_LAPTOP
--- sys/arch/i386/conf/INSTALL_LAPTOP   31 Mar 2007 15:25:34 -0000      1.83.2.6
+++ sys/arch/i386/conf/INSTALL_LAPTOP   7 Oct 2008 12:32:39 -0000
@@ -112,7 +112,7 @@
 file-system    CD9660          # ISO 9660 + Rock Ridge file system
 file-system    MSDOSFS         # MS-DOS file system
 #file-system   FDESC           # /dev/fd
-file-system    KERNFS          # /kern
+#file-system   KERNFS          # /kern
 #file-system   NULLFS          # loopback file system
 #file-system   PORTAL          # portal filesystem (still experimental)
 #file-system   PROCFS          # /proc
@@ -284,8 +284,8 @@
 wskbd*         at pckbd? console ?
 #wsmouse*      at pms? mux 0
 
-pcppi0         at isa?
-sysbeep0       at pcppi?
+#pcppi0                at isa?
+#sysbeep0      at pcppi?
 
 # Serial Devices
 
Index: sys/arch/i386/conf/INSTALL_SMALL
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/Attic/INSTALL_SMALL,v
retrieving revision 1.112.2.2
diff -u -r1.112.2.2 INSTALL_SMALL
--- sys/arch/i386/conf/INSTALL_SMALL    11 Nov 2006 20:25:19 -0000      
1.112.2.2
+++ sys/arch/i386/conf/INSTALL_SMALL    7 Oct 2008 12:32:39 -0000
@@ -111,7 +111,7 @@
 file-system    CD9660          # ISO 9660 + Rock Ridge file system
 file-system    MSDOSFS         # MS-DOS file system
 #file-system   FDESC           # /dev/fd
-file-system    KERNFS          # /kern
+#file-system   KERNFS          # /kern
 #file-system   NULLFS          # loopback file system
 #file-system   PORTAL          # portal filesystem (still experimental)
 #file-system   PROCFS          # /proc
Index: sys/arch/i386/conf/INSTALL_TINY
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/INSTALL_TINY,v
retrieving revision 1.86.2.2
diff -u -r1.86.2.2 INSTALL_TINY
--- sys/arch/i386/conf/INSTALL_TINY     11 Nov 2006 20:25:19 -0000      1.86.2.2
+++ sys/arch/i386/conf/INSTALL_TINY     7 Oct 2008 12:32:39 -0000
@@ -111,7 +111,7 @@
 file-system    CD9660          # ISO 9660 + Rock Ridge file system
 file-system    MSDOSFS         # MS-DOS file system
 #file-system   FDESC           # /dev/fd
-file-system    KERNFS          # /kern
+#file-system   KERNFS          # /kern
 #file-system   NULLFS          # loopback file system
 #file-system   PORTAL          # portal filesystem (still experimental)
 #file-system   PROCFS          # /proc
Index: sys/arch/i386/conf/INSTALL_XEN2_DOMU
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/INSTALL_XEN2_DOMU,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 INSTALL_XEN2_DOMU
--- sys/arch/i386/conf/INSTALL_XEN2_DOMU        11 Nov 2006 20:25:19 -0000      
1.1.2.4
+++ sys/arch/i386/conf/INSTALL_XEN2_DOMU        7 Oct 2008 12:32:39 -0000
@@ -88,7 +88,7 @@
 file-system    CD9660          # ISO 9660 + Rock Ridge file system
 file-system    MSDOSFS         # MS-DOS file system
 #file-system   FDESC           # /dev/fd
-file-system    KERNFS          # /kern
+#file-system   KERNFS          # /kern
 #file-system   NULLFS          # loopback file system
 #file-system   PORTAL          # portal filesystem (still experimental)
 #file-system   PROCFS          # /proc
Index: sys/arch/i386/conf/INSTALL_XEN3_DOMU
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/INSTALL_XEN3_DOMU,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 INSTALL_XEN3_DOMU
--- sys/arch/i386/conf/INSTALL_XEN3_DOMU        11 Nov 2006 20:25:19 -0000      
1.1.2.3
+++ sys/arch/i386/conf/INSTALL_XEN3_DOMU        7 Oct 2008 12:32:39 -0000
@@ -90,7 +90,7 @@
 file-system    CD9660          # ISO 9660 + Rock Ridge file system
 file-system    MSDOSFS         # MS-DOS file system
 #file-system   FDESC           # /dev/fd
-file-system    KERNFS          # /kern
+#file-system   KERNFS          # /kern
 #file-system   NULLFS          # loopback file system
 #file-system   PORTAL          # portal filesystem (still experimental)
 #file-system   PROCFS          # /proc


Home | Main Index | Thread Index | Old Index