Subject: port-i386/2963: Boot floppies
To: None <gnats-bugs@gnats.netbsd.org, darcy@druid.com>
From: None <darcy@druid.com>
List: netbsd-bugs
Date: 11/26/1996 07:22:30
>Number:         2963
>Category:       port-i386
>Synopsis:       Boot floppies built for 1.2M floppy.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 26 04:35:01 1996
>Last-Modified:
>Originator:     D'Arcy J.M. Cain
>Organization:
D'Arcy J.M. Cain                           |  Democracy is three wolves
darcy@{druid.com|vex.net}                  |  and a sheep voting on         
+1 416 943 5281     (DoD#0082)    (eNTP)   |  what's for dinner.
                --  http://www.druid.com/darcy  --                       
>Release:        current
>Environment:
	
System: NetBSD druid.com 1.2B NetBSD 1.2B (DRUID) #0: Sun Nov 24 10:11:21 EST 1996 darcy@druid.com:/usr/src/sys/arch/i386/compile/DRUID i386


>Description:
The boot floppies are built for 1.2M floppies.  The system is getting
bigger all the time and this is starting to stretch the capacity.  As
most people (on the i386 port anyway which is all this is about) have
the newer 1.44M floppy why not change this.  The changes below effect
this change and, as a bonus, add the fdisk utility to the binary.  I
find this useful sometimes.
>How-To-Repeat:
N/A
>Fix:
The following patches change the floppy to 1.44M and add the fdisk utility.

*** ../src.original/./distrib/i386/floppies/kc-common/Makefile.inc	Mon Nov 18 18:01:11 1996
--- ./distrib/i386/floppies/kc-common/Makefile.inc	Wed Oct 16 05:29:45 1996
***************
*** 17,26 ****
  MTREE=		${COMMONDIR}/mtree.conf
  
  all: ${CBIN}
! 	dd if=/dev/zero of=${IMAGE} bs=100k count=12
  	vnconfig -v -c ${VND_DEV} ${IMAGE}
! 	disklabel -w -B -b ${MDEC}/fdboot -s ${MDEC}/bootfd ${VND} floppy5
! 	newfs -O -m 0 -o space -i 6144 -c 80 ${VND_RDEV} floppy5
  	mount ${VND_DEV} ${MOUNT_POINT}
  	mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
  	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
--- 17,26 ----
  MTREE=		${COMMONDIR}/mtree.conf
  
  all: ${CBIN}
! 	dd if=/dev/zero of=${IMAGE} bs=144k count=10
  	vnconfig -v -c ${VND_DEV} ${IMAGE}
! 	disklabel -w -B -b ${MDEC}/fdboot -s ${MDEC}/bootfd ${VND} floppy
! 	newfs -O -m 0 -o space -i 6144 -c 80 ${VND_RDEV} floppy
  	mount ${VND_DEV} ${MOUNT_POINT}
  	mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
  	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
*** ../src.original/./distrib/i386/floppies/inst-common/Makefile.inc	Mon Nov 18 18:01:12 1996
--- ./distrib/i386/floppies/inst-common/Makefile.inc	Tue Oct 15 06:58:42 1996
***************
*** 17,25 ****
  MTREE=		${COMMONDIR}/mtree.conf
  
  all: ${CBIN}
! 	dd if=/dev/zero of=${IMAGE} bs=100k count=12
  	vnconfig -v -c ${VND_DEV} ${IMAGE}
! 	newfs -O -m 0 -o space -i 5120 -c 80 ${VND_RDEV} floppy5
  	mount ${VND_DEV} ${MOUNT_POINT}
  	mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
  	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
--- 17,25 ----
  MTREE=		${COMMONDIR}/mtree.conf
  
  all: ${CBIN}
! 	dd if=/dev/zero of=${IMAGE} bs=144k count=10
  	vnconfig -v -c ${VND_DEV} ${IMAGE}
! 	newfs -O -m 0 -o space -i 5120 -c 80 ${VND_RDEV} floppy
  	mount ${VND_DEV} ${MOUNT_POINT}
  	mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
  	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
*** ../src.original/./distrib/i386/floppies/inst-common/list	Mon Nov 18 18:01:12 1996
--- ./distrib/i386/floppies/inst-common/list	Fri May 10 05:23:35 1996
***************
*** 21,26 ****
--- 21,27 ----
  LINK	instbin			bin/test
  LINK	instbin			bin/[
  LINK	instbin			sbin/disklabel
+ LINK	instbin			sbin/fdisk
  LINK	instbin			sbin/fsck
  LINK	instbin			sbin/fsck_ffs
  LINK	instbin			sbin/halt
*** ../src.original/./distrib/i386/floppies/inst-common/instbin.conf	Mon Nov 18 18:01:13 1996
--- ./distrib/i386/floppies/inst-common/instbin.conf	Sat Jun  1 09:08:16 1996
***************
*** 5,11 ****
  
  srcdirs bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
  
! progs bad144 cat chmod chown chroot cp dd df disklabel ed expr fsck_ffs ftp gawk
  progs gzip ifconfig init less ln ls mkdir mknod mount mount_cd9660
  progs mount_ffs mount_msdos mount_nfs mount_kernfs
  progs mv newfs ping pwd reboot rm route
--- 5,11 ----
  
  srcdirs bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
  
! progs bad144 cat chmod chown chroot cp dd df disklabel ed expr fdisk fsck_ffs ftp gawk
  progs gzip ifconfig init less ln ls mkdir mknod mount mount_cd9660
  progs mount_ffs mount_msdos mount_nfs mount_kernfs
  progs mv newfs ping pwd reboot rm route

>Audit-Trail:
>Unformatted: