Subject: bin/5050: sysinst hardcodes the number of floppies in each split set!
To: None <>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: netbsd-bugs
Date: 02/23/1998 14:59:23
>Number:         5050
>Category:       bin
>Synopsis:       sysinst hardcodes the number of floppies in each split set!
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 23 15:05:00 1998
>Originator:     Jonathan Stone
>Release:        NetBSD 1.3 release, 1.3.1 brach at 1997-02-21
System: NetBSD Whisk.DSG.Stanford.EDU 1.3_ALPHA NetBSD 1.3_ALPHA (PLACEBO) #0: Wed Nov 26 16:15:18 PST 1997 jonathan@Whisk.DSG.Stanford.EDU:/usr/src/sys/arch/i386/compile/PLACEBO i386


The sysinst utility supports split sets (floppy images) on some ports.

Sysinst hardcodes the number of files each set is split into.  This
will break if the number of split files in a set changes.  when going
from from 1.3 to 1.3.1, the size of individual sets may change and
break the split-floppy counts, which have haven't been updaetd from 1.3.
Since 1.3.1 split sets are not (yet) available, we can't tell if this
is actually a problem or not.


Examine src/distrib/utils/sysinst/arch/i386/md.h.
Compare against the NetBSD-1.3.1/i386/sets/Split/ release directory.


Change sysinst to determine the count of floppies in a set at runtime.
For FTP or on-disk floppy images, parsing a directory listing of the
floppy-image files would work.

For installing from physical floppies we need a config file saying how
many floppies are in each set, or a more sophisticated multivolume
file format for distribution sets.