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

Bug#123948: b-f cdrom detection



On Feb 15, David Kimdon wrote:
> The following (untested) patch may give us the behavior we want, I
> think, any seconds?
> 
> The only change here is that we are checking the contents of the file.
> In general the change that I committed for 3.0.19 is to check the
> contents of any cdrom drives at boot.  If there is a debian cdrom in
> the drive at boot then we assume it will always be available, that is,
> we don't look for it when is_cdrom_image() is called, but rather check
> a variable that we set at boot.
> 
> Note, the recent submitter with the net-install CD could get around
> the problem experienced by booting with the verbose argument.  Needing
> the verbose argument isn't entirely intuitive, I just noticed it this
> evening reading the code. However, since one of our goals is to limit
> prompting the user this is probably a fine way to go.

Searching for the string "Official" seems rather bogus, unless we want
vendors who create unofficial CD-ROMs to put the string "Not Official"
in their .disk/info files.

I suspect searching for the strings "Debian" and "Binary-" would
suffice to ensure you have a Debian CD of some form in the drive.


Chris
-- 
Chris Lawrence <chris@lordsutch.com> - http://www.lordsutch.com/chris/



Reply to: