Re: Removing fdisk and bsdlabel (legacy partition tools)

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Sun, 28 Jan 2024 06:26:34 UTC
On Sat, 27 Jan 2024 21:52:06 -0700
Warner Losh <imp@bsdimp.com> wrote:

> 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

IIUC, there were opinions that "moving fidsk/bsdlabel to ports is not
good, because it could require internet access even when it is not
available".

For there, IIRC, dvd1.iso included pre-built pkgs. So it coul be the
best candidate.

But IIRC, memstick.img doesn't include pre-built pkgs. Having another
version of memstick.img something like full-memstick.img which contains
full sets (or selected pkgs) would be nice for specific cases that
hybrid media doesn't boot (maybe because of broken or too old BIOS).


> -- 
> > 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.


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>