Poul-Henning Kamp 1a03d6d57a Use symbolic constants from <sys/diskmbr.h> instead of local constants.
Always set the magic sequence when we write, rather than trusting the
previously read boot code to do so.

Use explicit encoding/decoding of little endian disk image.

Remove a comment which was OBE.

Change the test vector for "fdisk -I" to reflect that there is a magic
sequence in the result now.

Add test case for "fdisk" which reads the image back.

At least for the two test-cases this program now gives the same result
on sparc64 as on i386.  The lack of an installed /boot/mbr on sparc64
raises an (un)interesting question.
2003-04-13 21:57:08 +00:00
..
2003-03-26 05:49:42 +00:00
2002-07-06 19:34:18 +00:00
2001-12-04 02:19:58 +00:00
2002-12-09 13:06:34 +00:00
2003-03-25 03:16:53 +00:00
2003-02-23 01:47:49 +00:00
2003-02-11 07:32:45 +00:00
2003-04-03 12:36:56 +00:00
2003-03-26 01:30:34 +00:00
2003-03-25 11:27:46 +00:00
2002-03-19 22:51:53 +00:00
2003-03-03 22:48:06 +00:00
2002-07-06 19:34:18 +00:00
2002-07-06 19:34:18 +00:00
2002-12-27 12:15:40 +00:00
2003-04-07 22:58:35 +00:00
2002-12-27 12:15:40 +00:00
2003-02-05 13:50:41 +00:00
2003-02-23 01:47:49 +00:00
2002-07-06 19:34:18 +00:00
2002-12-27 12:15:40 +00:00
2003-03-05 19:18:05 +00:00
2003-02-11 02:31:53 +00:00
2001-12-04 02:19:58 +00:00
2003-01-08 06:43:27 +00:00
2002-04-19 23:06:29 +00:00
2003-02-28 00:55:18 +00:00
2003-02-23 01:50:07 +00:00
2003-04-07 22:58:35 +00:00
2001-12-04 02:19:58 +00:00