Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2002 10:57:00 -0800
From:      Michael Smith <msmith@freebsd.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Dmitry Konyshev <daemon@agava.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: finding out boot device 
Message-ID:  <200204011857.g31Iv0g01534@mass.dis.org>
In-Reply-To: Your message of "Mon, 01 Apr 2002 10:28:30 PST." <3CA8A6CE.DBB6CEEB@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> One way to obtain this information is to write a program
> that uses vm86() calls to read the first N sectors of a
> BIOS disk, then read the same area using the protected mode
> drivers.  When you get a unique MD5 hash match between the
> BIOS and the boot device, you're there.

This won't work, since we'll have spammed the device state by then.  
You'd have to compute the fingerprints in the loader before booting.

-- 
To announce that there must be no criticism of the president,
or that we are to stand by the president, right or wrong, is not
only unpatriotic and servile, but is morally treasonable to 
the American public.  - Theodore Roosevelt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204011857.g31Iv0g01534>