Date: Wed, 5 Dec 2001 11:12:36 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Terry Lambert <tlambert2@mindspring.com> Cc: hackers@freebsd.org Subject: Re: marking disks Message-ID: <20011205111236.B21593@Odin.AC.HMC.Edu> In-Reply-To: <3C0DD6CB.F76666D0@mindspring.com>; from tlambert2@mindspring.com on Wed, Dec 05, 2001 at 12:11:55AM -0800 References: <20011204175626.A21463@Odin.AC.HMC.Edu> <3C0DD6CB.F76666D0@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 05, 2001 at 12:11:55AM -0800, Terry Lambert wrote: > Brooks Davis wrote: > > What I'd been thinking was that I could write a magic string over the > > beginning of the MBR since I'm never going to try and boot these disks. > > That would let me detect uninitalized drives as well as out of date > > partitioning schemes. Are there any problems to look out for with > > this solution? Does anyone know of a better one? >=20 > It would be easiest for you to create a partition table on the > disk, and steal a table entry with a "magic" partition type to > indicate that either the LBA or CHS data was actually version or > type information, etc.. The thing I'm worried about there is that some "smart" bios or os might sanity check the values and refuse to work with the drive. Is that a likely scenerio? -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --NDin8bjvE/0mNLFQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8DnGjXY6L6fI4GtQRAtD3AKC6IyHRXNYSxgqSy8E8g7ThQbwKxwCcCtCa j3Rj2Gd5wwQvvzOgdQwAT+o= =+xn3 -----END PGP SIGNATURE----- --NDin8bjvE/0mNLFQ-- 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?20011205111236.B21593>