NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53217: -current: dumping to wedges on GPT disks broken



The following reply was made to PR kern/53217; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
 kardel%netbsd.org@localhost
Subject: Re: kern/53217: -current: dumping to wedges on GPT disks broken
Date: Fri, 27 Apr 2018 08:40:32 -0700

 --Apple-Mail=_E03DE96F-24E2-4AA7-8AB7-0027A868B57E
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=utf-8
 
 
 
 > On Apr 27, 2018, at 8:35 AM, Christos Zoulas <christos%zoulas.com@localhost> =
 wrote:
 >=20
 > I think that we should either fix the wedge code to create a better
 > fictitious disklabel or get rid of the label code and have it just
 > be there for compatibility (replacing dk_label with something that
 > works in all cases).
 
 
 The original intent of the wedge code is that it would subsume all of =
 the partition format schemes, and that =E2=80=9Cstruct disklabel=E2=80=9D =
 would remain for on-disk format compatibility only.
 
 In a perfect world, all platforms that don=E2=80=99t otherwise have a =
 =E2=80=9Cnative=E2=80=9D partition scheme (i.e. something that=E2=80=99s =
 understood directly by, say, the firmware) would migrate to GPT, since =
 it=E2=80=99s cross-platform and extremely flexible.
 
 -- thorpej
 
 
 --Apple-Mail=_E03DE96F-24E2-4AA7-8AB7-0027A868B57E
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
 	charset=utf-8
 
 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
 charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
 -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
 class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
 class=3D"">On Apr 27, 2018, at 8:35 AM, Christos Zoulas &lt;<a =
 href=3D"mailto:christos%zoulas.com@localhost"; class=3D"">christos%zoulas.com@localhost</a>&gt;=
  wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><span=
  style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
 12px; font-style: normal; font-variant-caps: normal; font-weight: =
 normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
 text-transform: none; white-space: normal; word-spacing: 0px; =
 -webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
 display: inline !important;" class=3D"">I think that we should either =
 fix the wedge code to create a better</span><br style=3D"caret-color: =
 rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
 normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
 normal; text-align: start; text-indent: 0px; text-transform: none; =
 white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
 text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
 font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
 text-align: start; text-indent: 0px; text-transform: none; white-space: =
 normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
 text-decoration: none; float: none; display: inline !important;" =
 class=3D"">fictitious disklabel or get rid of the label code and have it =
 just</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
 Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
 normal; font-weight: normal; letter-spacing: normal; text-align: start; =
 text-indent: 0px; text-transform: none; white-space: normal; =
 word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
 none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
 Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
 normal; font-weight: normal; letter-spacing: normal; text-align: start; =
 text-indent: 0px; text-transform: none; white-space: normal; =
 word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
 none; float: none; display: inline !important;" class=3D"">be there for =
 compatibility (replacing dk_label with something that</span><br =
 style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
 12px; font-style: normal; font-variant-caps: normal; font-weight: =
 normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
 text-transform: none; white-space: normal; word-spacing: 0px; =
 -webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
 style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
 12px; font-style: normal; font-variant-caps: normal; font-weight: =
 normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
 text-transform: none; white-space: normal; word-spacing: 0px; =
 -webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
 display: inline !important;" class=3D"">works in all cases).</span><br =
 style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
 12px; font-style: normal; font-variant-caps: normal; font-weight: =
 normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
 text-transform: none; white-space: normal; word-spacing: 0px; =
 -webkit-text-stroke-width: 0px; text-decoration: none;" =
 class=3D""></div></blockquote></div><div class=3D""><br =
 class=3D""></div><div class=3D"">The original intent of the wedge code =
 is that it would subsume all of the partition format schemes, and that =
 =E2=80=9Cstruct disklabel=E2=80=9D would remain for on-disk format =
 compatibility only.</div><div class=3D""><br class=3D""></div><div =
 class=3D"">In a perfect world, all platforms that don=E2=80=99t =
 otherwise have a =E2=80=9Cnative=E2=80=9D partition scheme (i.e. =
 something that=E2=80=99s understood directly by, say, the firmware) =
 would migrate to GPT, since it=E2=80=99s cross-platform and extremely =
 flexible.</div><br class=3D""><div class=3D"">
 <span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
 color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
 font-style: normal; font-variant: normal; font-weight: normal; =
 letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
 auto; text-indent: 0px; text-transform: none; white-space: normal; =
 widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
 -webkit-border-vertical-spacing: 0px; =
 -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
 auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
 break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
 after-white-space; " class=3D"">-- thorpej</div></span>
 
 </div>
 <br class=3D""></body></html>=
 
 --Apple-Mail=_E03DE96F-24E2-4AA7-8AB7-0027A868B57E--
 



Home | Main Index | Thread Index | Old Index