Date: Thu, 25 Jan 2024 02:09:12 -0800 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Olivier Certner <olce@freebsd.org> Cc: Cy Schubert <Cy.Schubert@cschubert.com>, Warner Losh <imp@bsdimp.com>, "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, George Michaelson <ggm@algebras.org>, Ed Maste <emaste@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Removing fdisk and bsdlabel (legacy partition tools) Message-ID: <20240125100912.F06C6AC@slippy.cwsent.com> In-Reply-To: <2369865.bDOn7JOVgO@ravel> References: <202401242347.40ONlWKZ099356@gndrsh.dnsmgr.net> <CANCZdfq%2BF1iFpUkDEYdcxPJfp96Ymz8KjBGaK_JNN1i09s7P=A@mail.gmail.com> <20240125055019.CCF1973@slippy.cwsent.com> <2369865.bDOn7JOVgO@ravel>
index | next in thread | previous in thread | raw e-mail
In message <2369865.bDOn7JOVgO@ravel>, Olivier Certner writes: > --nextPart5823302.8T7jmnknE8 > Content-Transfer-Encoding: 7Bit > Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" > From: Olivier Certner <olce@freebsd.org> > To: Cy Schubert <Cy.Schubert@cschubert.com> > Subject: Re: Removing fdisk and bsdlabel (legacy partition tools) > Date: Thu, 25 Jan 2024 10:43:18 +0100 > Message-ID: <2369865.bDOn7JOVgO@ravel> > In-Reply-To: <20240125055019.CCF1973@slippy.cwsent.com> > MIME-Version: 1.0 > > Hi, > > > A visual view of columns of a bsdlabel, editing a label using vi, checking > > and double checking numbers before committing them is handy.The visual > > format and the ability to adjust the numbers in an editor before committing > > > them is handy. You can't do this with gpart, as it's transactional. And > > bsdinstall doesn't give one the opportunity to check the numbers in detail > > on a console before committing them. > > You seem to want to be able to stack a number of modifications before actuall > y pushing them. Actually, gpart(8) already can do that! Please see the "OPE > RATIONAL FLAGS" section in gpart(8). > > In between your tentative modifications, just use 'gpart show' to see where y > ou stand. gpart(8) should have a vi mode. That is different than having changes pending and committing them. A person is still entering commands rather than doing something like editing a spreadsheet, which is what editing a file is kind-of like. Even something like, gpart show ada0s2 > some_file vi some_file gpart batch ada0s2 < some_file -- 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=0help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240125100912.F06C6AC>
