From nobody Thu Jan 25 05:50:19 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 4TL90G2hwZz57p5j for ; Thu, 25 Jan 2024 05:50:22 +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 4TL90G0QhPz4cVk; Thu, 25 Jan 2024 05:50:22 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTPS id ScTJrzPkLGAIJSsd3ry9gY; Thu, 25 Jan 2024 05:50:21 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id Ssd2rZ3j10nMNSsd2rrmIl; Thu, 25 Jan 2024 05:50:21 +0000 X-Authority-Analysis: v=2.4 cv=Qcx1A+Xv c=1 sm=1 tr=0 ts=65b1f69d a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=dEuoMetlWLkA:10 a=iKhvJSA4AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=F9ww8NI8pRhu131V0AgA:9 a=CjuIK1q_8ugA:10 a=odh9cflL3HIXMm4fY7Wr:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id DDFCC334; Wed, 24 Jan 2024 21:50:19 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id CCF1973; Wed, 24 Jan 2024 21:50:19 -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: Warner Losh cc: Cy Schubert , "Rodney W. Grimes" , George Michaelson , Ed Maste , FreeBSD Current Subject: Re: Removing fdisk and bsdlabel (legacy partition tools) In-reply-to: References: <202401242347.40ONlWKZ099356@gndrsh.dnsmgr.net> <20240125050736.A11871AC@slippy.cwsent.com> Comments: In-reply-to Warner Losh message dated "Wed, 24 Jan 2024 22:28:44 -0700." 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: Wed, 24 Jan 2024 21:50:19 -0800 Message-Id: <20240125055019.CCF1973@slippy.cwsent.com> X-CMAE-Envelope: MS4xfDhF37KbYW33J5GFNBIeUhgds1SEoiCDXdU7Eb39rNLs5YxvTtl4F+Ttrsw2xaDjVNyp/QTL8SYI3+Wxlw+uQ7j+zGvQR5VYGUAaSlBjkbQ7nt3f3vkX IdGpjjiYODrzd/0pI4/VUwmuyAnGNdV8td8MevVVH8y8SImaLJ4/vwZvtCo7s0ZyvFsdumag8Z16qClQvTbauIRG+3taiui7wsBjvVBq67uDmAPZK08tSCoA uXldayCqLjAGJh9P07vEQ0KnNUwlZhQ0mFZcF/OtMT7vss2/ZPUb2LdNsmYh6lcHhEmRrf5JwH0jjk87gsudq+DabefelzmRfWVcYVd4rH0= X-Rspamd-Queue-Id: 4TL90G0QhPz4cVk 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 , Warner Losh writes: > --000000000000b0adc9060fbe7411 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > On Wed, Jan 24, 2024, 10:07=E2=80=AFPM Cy Schubert om> > wrote: > > > In message <202401242347.40ONlWKZ099356@gndrsh.dnsmgr.net>, "Rodney W. > > Grimes" > > writes: > > > > I would agree personally, to moving to ports (eg ports/sysutils) with > > > > a DEPRECATED in the DESCR or something, or better yet a Make > > > > invokation event to say "superceded, here is how to proceed against > > > > advice") or something. > > > > > > They are totally useless as ports when your booted from install > > > media and working from a standalone shell. These are the exact > > > times you want things like fdisk and bsdlabel so you can figure > > > out wtf is going on, and bsdinstall is NOT gona help you. > > > > This is certainly a good point. > > > > What can they do that gpart can't do? This was quite a while ago, booted off my recovery USB attempting to repair some self caused damage. The ability to edit (vi) a file with starting addresses and lengths, visually using bsdlabel, was suited to my panicked state as I worked to recover the machine. 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. Maybe a good GSoC project may be to replace bsdlabel's driect writes to disk with geom calls. Though, t doesn't need to be bsdlabel, but some kind of utility that displays the existing label in an editor session where changes can be made, using the editor, and committed. This could even be an enhancement to bsdinstall: call it expert mode or whatever. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0