NetBSD-Bugs archive

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

Re: install/43012: sysinst doesn't detect correct cd/dvd drive



The following reply was made to PR install/43012; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: install/43012: sysinst doesn't detect correct cd/dvd drive
Date: Fri, 19 Mar 2010 17:32:19 +0100

 On Sat, Mar 20, 2010 at 01:25:26AM +0900, Izumi Tsutsui wrote:
 > AFAIK, sysinst doesn't care which drive is booted device.
 > ("cd0a" is hardcoded in src/distrib/utils/sysinst/main.c)
 
 Correct.
 
 > sysinst might able to check if booted device is CD-ROM and use it
 > for the default cdrom_dev
 
 The problem is solved for i386 style CDs w/o md root image - if / is a
 cd9660 filesystem, sysinst just used the already mounted CD.
 
 But amd64 still uses md on /.
 
 > Probably we have to add some new parameters in bootinfo
 > to indicate volume label or signature of booted ISO as
 > disklabel/dkwedge for harddisk.
 
 I'd rather avoid such magic and probe the device for media being present
 (i.e. make sysinst gracefully deal with a wrong selection instead of mount
 failing).
 
 Martin
 


Home | Main Index | Thread Index | Old Index