Re: [Etherboot-developers] Q: device naming....
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ke...@us...> - 2002-08-21 03:38:08
|
>What I am trying to do with the names is have a name for a class >of devices. nics, hard drive, floppy drives, cds, tapes, dislpay. An >average machine will normally have only one device of each class. So >for a simple machine the names will be unambiguous, and predictable. >``file:///disk0'' will mean your first disk if it scsi, ide, or even >if it is plugged into the second channel of your ide controller >instead of the first. > >On top of this infrastructure I also intend to have a setup of >bootorder where it selects which devices to boot from. Ok, got it. >Two pieces. >- try_floppy_first(), read from the floppy disk, and returns to > the BIOS if it doesn't get an error. >- The second case bootdisk() transfers control to the MBR. Both cases sound like they can be replaced by the functionality of your code. |