Re: Killing off the boot sector (was: [STATUS 2.5] January 8, 2002)

H. Peter Anvin (hpa@zytor.com)
8 Jan 2003 16:06:27 -0800


Followup to: <200301082123.h08LNXSY003383@darkstar.example.net>
By author: John Bradford <john@grabjohn.com>
In newsgroup: linux.dev.kernel
>
> Shouldn't that part stay, incase somebody boots a machine from a
> floppy, and leaves it running for hours?
>

No; interrupts are enabled so the BIOS will time out the floppy and
turn off the motor if necessary. The only reason Linux (sort of)
needs that code is because the kernel takes control away from the
BIOS. I say "sort of" because it really only matters if the kernel
doesn't have a floppy driver.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/