Date: Fri, 26 Jan 2024 09:13:23 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> Cc: Warner Losh <imp@bsdimp.com>, Ed Maste <emaste@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Removing fdisk and bsdlabel (legacy partition tools) Message-ID: <f216a702f030a1a6a95bca8293e2576a@Leidinger.net> In-Reply-To: <202401251749.40PHnu4E002568@gndrsh.dnsmgr.net> References: <202401251749.40PHnu4E002568@gndrsh.dnsmgr.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Am 2024-01-25 18:49, schrieb Rodney W. Grimes: >> On Thu, Jan 25, 2024, 9:11?AM Ed Maste <emaste@freebsd.org> wrote: >> >> > On Thu, 25 Jan 2024 at 11:00, Rodney W. Grimes >> > <freebsd-rwg@gndrsh.dnsmgr.net> wrote: >> > > >> > > > These will need to be addressed before actually removing any of these >> > > > binaries, of course. >> > > >> > > You seem to have missed /rescue. Now think about that long >> > > and hard, these tools classified as so important that they >> > > are part of /rescue. Again I can not stress enough how often >> > > I turn to these tools in a repair mode situation. >> > >> > I haven't missed rescue, it is included in the work in progress I >> > mentioned. Note that rescue has included gpart since 2007. >> > >> >> What can fdisk and/or disklabel repair that gpart can't? > > As far as I know there is no way in gpart to get to the > MBR cyl/hd/sec values, you can only get to the LBA start > and end values: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 8388513 (4095 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 15/ sector 63 > > gpart show ada0 > => 63 8388545 ada0 MBR (4.0G) > 63 8388513 1 freebsd [active] (4.0G) > 8388576 32 - free - (16K) What are you using cyl/hd/sec values for on a system which runs FreeBSD current or on which you would have to use FreeBSD-current in case of a repair need? What is the disk hardware on those systems that you still need cyl/hd/sec and LBA doesn't work? Serious questions out of curiosity. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmWzabQACgkQEg2wmwP4 2IYBERAAiPW9C5KJet7l/yfjJh6rj3dN4RuQXM39kfOfABMDA/VDH1gyx8N9gbvy jIBymEfrIfYZlRsDkY4BOhf30FnKhT4qV8FmzlZ3Z7fQBE1VtSkscZrQ9TOxCvg/ xJd2QPTEXwa6m1A2o3WBjAgGHKHp6I51zLu0PbGJuGe1YBuStmM0H0djkNO2gRJN xTLkeRiKAvefXctfiO/IqpjEtRoWLVoiuF/CtjDxSfz9cQjvsR+B6k0p9kzjc5P0 VM96npv3GtBDYvDOMOlulvk2F7KFUJrRaabCJr73CD+oUM528XrJbEEesgHC+xFu 0siWGpH4MChX3zdXPDoFoXewGYK7BzDxOz6WL4S0sLR3kQ+00GKogHAAj0ascx00 bD+1RfmH3iFfPzCbCB1HXHlwWzpZe+KBbjJGdSvfJoLVSQJzql2rQPAI9DWhHOFX wtG1j9k6rPyyCbjK/oVgdqBb9Htd4PlwnvJAV4qoPUDU2Wms3w+Gg6s0toG7ts8E tz3O1E38YIf/vDTS2tvBQ6um9RIzJ7Qqsry7yMP3PI4SsK06fjfAfmq9gDfyBZt/ UOXqn7dt+BsG6UQnQn7VXPAcDTtVx6CDNmjlq4Kxdny7Fsv7KVjoi9BgqoeWtqP7 G6X/kBar5iWg2048hvJUnmK288OA6b/0vX0uVvrU4JAE/vUB5Aw= =Zh4g -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f216a702f030a1a6a95bca8293e2576a>
