Re: Removing fdisk and bsdlabel (legacy partition tools)

From: Warner Losh <imp_at_bsdimp.com>
Date: Sun, 28 Jan 2024 04:52:06 UTC
On Sat, Jan 27, 2024, 1:26 PM Cy Schubert <Cy.Schubert@cschubert.com> wrote:

> On January 26, 2024 7:13:15 PM PST, Ed Maste <emaste@freebsd.org> wrote:
> >On Wed, 24 Jan 2024 at 15:43, Julian H. Stacey <jhs@berklix.com> wrote:
> >>
> >> Probably many do, clueless there's a proposal to remove them,
> >> as many wont be tracking lists (I havent been tracking lately,
> >> focused on moving home, other will have other distractions)
> >
> >As Rod suggested I'll have the tools emit a warning when they are run,
> >so that those users will become aware.
> >https://reviews.freebsd.org/D43585
> >https://reviews.freebsd.org/D43586
> >
>
> We can also point people to the two new ports.
>

The other thing we learned was that people use the installer to do
interesting things in the emergency holographic shell or the installer w/o
installing a system. We should look at ways we can shift to "mfs" so pkg
add can work in that env. Then the basis of the objections collapse. Then
it won't matter it isn't in base. Pkg add whatever recovery tools you think
you need or like to use, formerly in base or no... sure, it will go away...
but 99% of things are useful right away w/o a reboot...

I don't think it would be a hard project... likely one that could be done
by creating a miniroot that can create the mfs, extract a tarnall to it
then pivot root to that.... pkg could be bootsrrapped and it would be easy
from there...

Warner


-- 
> Cheers,
> Cy Schubert <Cy.Schubert@cschubert.com>
> FreeBSD UNIX:  <cy@FreeBSD.org>  Web:  https://FreeBSD.org
> NTP:                     <cy@nwtime.org>    Web:  https://nwtime.org
>                                                     e^(i*pi)+1=0
>
> Pardon the typos. Small keyboard in use.
>
>