Source-Changes archive

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

CVS commit: src/distrib/utils/sysinst

Module Name:    src
Committed By:   abs
Date:           Fri Jun 22 20:54:39 UTC 2012

Modified Files:
        src/distrib/utils/sysinst: defs.h disks.c main.c
        src/distrib/utils/sysinst/arch/emips: md.h
        src/distrib/utils/sysinst/arch/i386: md.h
        src/distrib/utils/sysinst/arch/vax: md.h

Log Message:
- Replace the CD_NAME definition with a CD_NAMES comma separate list,
  the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
  takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
  checks the contents of hw.disknames against CD_NAMES. The first one
  found (minus partition letter) is picked, otherwise the first entry
  in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax

To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/distrib/utils/sysinst/defs.h
cvs rdiff -u -r1.124 -r1.125 src/distrib/utils/sysinst/disks.c
cvs rdiff -u -r1.64 -r1.65 src/distrib/utils/sysinst/main.c
cvs rdiff -u -r1.3 -r1.4 src/distrib/utils/sysinst/arch/emips/md.h
cvs rdiff -u -r1.68 -r1.69 src/distrib/utils/sysinst/arch/i386/md.h
cvs rdiff -u -r1.20 -r1.21 src/distrib/utils/sysinst/arch/vax/md.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index