From nobody Thu Jan 25 10:09:12 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TLGl14C3Fz58DQT for ; Thu, 25 Jan 2024 10:09:17 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TLGl11YkHz4LgF; Thu, 25 Jan 2024 10:09:17 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id SwQDr0e6YGAIJSwfbryI7u; Thu, 25 Jan 2024 10:09:15 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id SwfZrYJy8ZR3lSwfarDhDZ; Thu, 25 Jan 2024 10:09:15 +0000 X-Authority-Analysis: v=2.4 cv=Lo2Bd1Rc c=1 sm=1 tr=0 ts=65b2334b a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=dEuoMetlWLkA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=VxmjJ2MpAAAA:8 a=EkcXrb_YAAAA:8 a=qh4DO4SwyRYOGC7Ow7kA:9 a=CjuIK1q_8ugA:10 a=kkVwv0u_FqAA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=7gXAzLPJhVmCkEl4_tsf:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 2D1D838F; Thu, 25 Jan 2024 02:09:13 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id F06C6AC; Thu, 25 Jan 2024 02:09:12 -0800 (PST) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Olivier Certner cc: Cy Schubert , Warner Losh , "Rodney W. Grimes" , George Michaelson , Ed Maste , FreeBSD Current Subject: Re: Removing fdisk and bsdlabel (legacy partition tools) In-reply-to: <2369865.bDOn7JOVgO@ravel> References: <202401242347.40ONlWKZ099356@gndrsh.dnsmgr.net> <20240125055019.CCF1973@slippy.cwsent.com> <2369865.bDOn7JOVgO@ravel> Comments: In-reply-to Olivier Certner message dated "Thu, 25 Jan 2024 10:43:18 +0100." List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Jan 2024 02:09:12 -0800 Message-Id: <20240125100912.F06C6AC@slippy.cwsent.com> X-CMAE-Envelope: MS4xfGtw3ZqQpjIXUlgdqtyS8BVqLFhJpBmFDMAkDAnN7F+nL7gpfZY3qoxTBsmA64E+FFmojrVt9UmDiY+yPupGr9oIQ0GqJxeyv+rU9TQeyo7M0Yp5wQkT 6WUBglxMC9i5JbO36k4nw8aYQ+gHdRF5BknM86cAWy217zOsgOnMaMmirtQ+dIZxb/dYwB1VdumUc/ikET2qLI+1PttUg0PramiBhfmlQSgxhJDiAWgmbynT ofCsY2um0ftBplr0ovxRDRlBMgJQ8Nj3FFzskew/TIhzt3VeNn3C3ca0HfJt3BP2qIqoyuC2buYsCB0gTbvxgP8qyILYp6iMBb5SQjrDf3Yq3HAGFMYNlw5O sC1Mca4x X-Rspamd-Queue-Id: 4TLGl11YkHz4LgF X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] 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 > To: Cy Schubert > 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 FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0