marcel 60c8581b5e Be compatible with boot code that starts right after the disk label in
the second sector by only clearing the amount of bytes needed for the
disklabel in the second sector. Previously we were clearing exactly 1
sector worth of bytes and as such writing over boot code that may have
been there.
Since we do support more than 8 partitions, make sure to set all fields
in d_partitions. For the first 8 partitions this is unneeded, but for
partitioons 9 and up this compensates for the fact that we don't clear
an entire sector anymore.
Obviously, one cannot use more than 8 partitions when using boot code
that starts right after the disk label.

Relevant GRNs:
107879 - Employ unused bytes after the disklabel in the second sector.
189500 - Revert the part of change 107879 that employs the unused bytes
	 after the disklabel in the 2nd sector for boot code.

Obtained from:	Juniper Networks, Inc.
MFC after:	3 days
2014-09-12 04:15:35 +00:00
..
2014-07-08 22:27:50 +00:00
2014-08-06 22:17:26 +00:00
2014-07-31 03:36:03 +00:00
2014-07-07 00:27:09 +00:00
2014-08-26 19:36:47 +00:00
2014-08-01 23:28:21 +00:00
2014-08-26 11:04:51 +00:00
2014-07-04 04:47:29 +00:00
2014-09-11 19:54:30 +00:00
2014-08-26 20:40:12 +00:00
2014-07-29 19:49:27 +00:00
2014-07-18 22:56:59 +00:00
2014-07-07 00:27:09 +00:00