Source-Changes archive

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

Re: CVS commit: src/sys/arch/i386/stand/boot



christos%astron.com@localhost wrote:

> >Log Message:
> >Remove a hack which disables loading boot.cfg from ustarfs.
> >Now all bootfloppies have a proper boot.cfg file in ustarfs.
> >
> >Tested on qemu.
> >(though qemu doesn't emulate timeout on the boot prompt properly)
> 
> And this does not not cause a backwards seek? Great.

At least no backwards seek across volumes.

The problem when sborrill@ and I added the hack (PR/37521) was
ustarfs_open() against nonexistent boot.cfg caused seeks through EOF,
then we had to put disk 2 before boot prompt and put disk 1 back again
before loading a kernel.

Forthermore, there might be one more problem that ustarfs_open()
doesn't (can't?) check current volume so it immediately fails
without get_volume() prompt if disk 2 is inserted after the ENOENT.
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index