Date: Mon, 29 Jul 2024 13:25:50 -0600 From: Warner Losh <imp@bsdimp.com> To: Bryce <678yym@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: /stand/i386/boot0/boot0.S and other boot files under i386 Message-ID: <CANCZdfr8t3sWumKQ6PNotQDcY7Puvc9idc%2BMC5kTvxvvj8KGWg@mail.gmail.com> In-Reply-To: <CADF3e16x8EzGkPOFWFT_tBSzDUX5QYAPXLbLi0sUVdP64-FWEw@mail.gmail.com> References: <CADF3e16x8EzGkPOFWFT_tBSzDUX5QYAPXLbLi0sUVdP64-FWEw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000000d6388061e67d5f8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable boot0.S is only for MBR. And really only loading the boot blocks from the start of a partition. pmbr.S is for GPT. It loads the freebsd-boot partition for the next stage. I'm biased against breaking compatibility generally, but might make an exception for a specific thing. What were you going to break? A lot depends on that... Warner On Mon, Jul 29, 2024 at 12:58=E2=80=AFPM Bryce <678yym@gmail.com> wrote: > Hello, list > > Ive been looking at boots.S and found some things that could use > improvement. I've changed a few things around here and there, but so far > have not broken compatibility in terms of appearance and interaction. > > How would the list feel about breaking compatibility? Would you all find > it acceptable if I was able to add features like booting from a logical > partition and adding error checking capabilities for the MBR (and thus th= e > ability to discern a GPT from MBR drive)? > > Last time there were any major changes seems to have been 20 years ago, > what does the list think? > --0000000000000d6388061e67d5f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">boot0.S is only for MBR. And really only loading the boot = blocks from the start of a partition.<div>pmbr.S is for GPT. It loads the f= reebsd-boot partition for the next stage.</div><div><br></div><div>I'm = biased against breaking compatibility generally, but might make an exceptio= n for a specific thing.</div><div><br></div><div>What were you going to bre= ak? A lot depends on that...</div><div><br></div><div>Warner</div></div><br= ><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, J= ul 29, 2024 at 12:58=E2=80=AFPM Bryce <<a href=3D"mailto:678yym@gmail.co= m">678yym@gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex"><div dir=3D"auto"><span style=3D"font-size:12.8px">Hello= , list</span><div dir=3D"auto" style=3D"font-size:12.8px"><br></div><div di= r=3D"auto" style=3D"font-size:12.8px">Ive been looking at boots.S and found= some things that could use improvement. I've changed a few things arou= nd here and there, but so far have not broken compatibility in terms of app= earance and interaction.</div><div dir=3D"auto" style=3D"font-size:12.8px">= <br></div><div dir=3D"auto" style=3D"font-size:12.8px">How would the list f= eel about breaking compatibility? Would you all find it acceptable if I was= able to add features like booting from a logical partition and adding erro= r checking capabilities for the MBR (and thus the ability to discern a GPT = from MBR drive)?</div><div dir=3D"auto" style=3D"font-size:12.8px"><br></di= v><div dir=3D"auto" style=3D"font-size:12.8px">Last time there were any maj= or changes seems to have been 20 years ago, what does the list think?</div>= </div> </blockquote></div> --0000000000000d6388061e67d5f8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr8t3sWumKQ6PNotQDcY7Puvc9idc%2BMC5kTvxvvj8KGWg>