Date: Tue, 11 Apr 2023 18:35:40 +0100 From: Graham Perrin <grahamperrin@freebsd.org> To: Warner Losh <imp@bsdimp.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: gpart destroy, in depth Message-ID: <519b5387-4561-94a1-f2e1-6fe6c4a4f35e@freebsd.org> In-Reply-To: <CANCZdfoZexT2ddX_YocTW9u-qhaD6nWoTtFd5xMWqNTbdtwWSA@mail.gmail.com> References: <64e88636-1e03-7ff5-7d3f-e8a36117cdbe@freebsd.org> <CANCZdfoZexT2ddX_YocTW9u-qhaD6nWoTtFd5xMWqNTbdtwWSA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------esgQ6W4xJg61g3ZGvhVjs5XT Content-Type: multipart/mixed; boundary="------------Ev00wvEXl3XbZCKAeeyKdE0x"; protected-headers="v1" From: Graham Perrin <grahamperrin@freebsd.org> To: Warner Losh <imp@bsdimp.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Message-ID: <519b5387-4561-94a1-f2e1-6fe6c4a4f35e@freebsd.org> Subject: Re: gpart destroy, in depth References: <64e88636-1e03-7ff5-7d3f-e8a36117cdbe@freebsd.org> <CANCZdfoZexT2ddX_YocTW9u-qhaD6nWoTtFd5xMWqNTbdtwWSA@mail.gmail.com> In-Reply-To: <CANCZdfoZexT2ddX_YocTW9u-qhaD6nWoTtFd5xMWqNTbdtwWSA@mail.gmail.com> --------------Ev00wvEXl3XbZCKAeeyKdE0x Content-Type: multipart/alternative; boundary="------------mXhEaQsKUoxGdwtVYyQh0wmE" --------------mXhEaQsKUoxGdwtVYyQh0wmE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTEvMDQvMjAyMyAxNDoyNCwgV2FybmVyIExvc2ggd3JvdGU6DQoNCj4gSXQgd3JpdGVz IHplcm9zIHRvIHRoZSBwYXJ0aXRpb24gdGFibGUuDQo+DQo+IFdhcm5lcg0KDQoNClRoYW5r cy4NCg0KSXMgaXQgcHJlY2lzZSBhYm91dCB3aGVyZSBpdCBjZWFzZXMgd3JpdGluZyB6ZXJv cyBpbiB0aGUgYXJlYXMgDQpwcmV2aW91c2x5IG9jY3VwaWVkIGJ5IHRoZSB0YWJsZSBhbmQg YmFja3VwIHRhYmxlPw0KDQpPciBkb2VzIGl0IChmb3Igd2FudCBvZiBhIGJldHRlciBleHBy ZXNzaW9uKSBzcGlsbCBvdmVyLCBhIGxpdHRsZT8NCg0KPg0KPiBPbiBUdWUsIEFwciAxMSwg MjAyMywgNzoxMyBBTSBHcmFoYW0gUGVycmluIDxncmFoYW1wZXJyaW5AZnJlZWJzZC5vcmc+ IA0KPiB3cm90ZToNCj4NCj4gICAgIFBsZWFzZTogd2hhdCwgZXhhY3RseSwgb2NjdXJzIHdo ZW4gYSBwYXJ0aXRpb24gdGFibGUgaXMgZGVzdHJveWVkIGJ5DQo+ICAgICBncGFydCg4KT8N Cj4NCj4gICAgIEJhY2tncm91bmQ6IOKApg0KPg0K --------------mXhEaQsKUoxGdwtVYyQh0wmE Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html data-lt-installed=3D"true"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF= -8"> <script data-cookieconsent=3D"ignore" src=3D"moz-extension://29fb402e= -105a-42a3-9cdf-d9151b2bcb17/content/executor.js"></script> </head> <body style=3D"padding-bottom: 1px;"> <p>On 11/04/2023 14:24, Warner Losh wrote:<br> </p> <blockquote type=3D"cite" cite=3D"mid:CANCZdfoZexT2ddX_YocTW9u-qhaD6nWoTtFd5xMWqNTbdtwWSA@mail.gmai= l.com"> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DU= TF-8"> <div dir=3D"auto">It writes zeros to the partition table. <div dir=3D"auto"><br> </div> <div dir=3D"auto">Warner</div> </div> </blockquote> <p><br> </p> <p>Thanks. <br> </p> <p>Is it precise about where it ceases writing zeros in the areas previously occupied by the table and backup table?</p> <p>Or does it (for want of a better expression) spill over, a little?<br> </p> <blockquote type=3D"cite" cite=3D"mid:CANCZdfoZexT2ddX_YocTW9u-qhaD6nWoTtFd5xMWqNTbdtwWSA@mail.gmai= l.com"><br> <div class=3D"gmail_quote"> <div dir=3D"ltr" class=3D"gmail_attr">On Tue, Apr 11, 2023, 7:13 = AM Graham Perrin <<a href=3D"mailto:grahamperrin@freebsd.org" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">grah= amperrin@freebsd.org</a>> wrote:<br> </div> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please: what, exactly, occurs when a partition table is destroyed by <b= r> gpart(8)?<br> <br> Background: =E2=80=A6<br> </blockquote> </div> </blockquote> </body> <lt-container></lt-container> </html> --------------mXhEaQsKUoxGdwtVYyQh0wmE-- --------------Ev00wvEXl3XbZCKAeeyKdE0x-- --------------esgQ6W4xJg61g3ZGvhVjs5XT Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmQ1mmwFAwAAAAAACgkQt2dIb0oY1AuS 3BAAjmwJW00rhzXC2vypwP42dXn3FaPWEy2mqDFxy4PLMm5gmDNm1PFizDpSOYAdmieCm+OWJ2hS msaDJLeawwXi6sNx6ih39yCxANWrrzReHuhQ/KkCT2xCLY9moD5dvgF9Cbr2jqIRpHOyEyoRNceH n+NBwds4Mx0L1bWiCYOOGaKr06/Qt/GenmkYCFd8onOZ/1HGiyUl4iWtvH4UpByGrW26yN5gPevo wA4EgSLe11o2JhEzkHlYa1lW/iOVAaGXLdiULYn10sIr6l8ejLo8XWnxaYW1UChT48cjTS+fSfu6 Zfqbkmy37tnCa6AyWuYlECIyROV2QMTwZ3uxVLYhtNQ7erBJ3y/m8DPcMPlX19wmyGkRV0188u/i OqfUvjDNeHTYz9HGmsvzLjaO3mMr6siQHqSiPD1HXPSQFP4NL1XDUV38Ey10TUIUG/Tf2KsWtMvf 1W2gEVMBfdzDv2ckJX+HbFLfSNmj0t9qQpbR6hBBFvyFeBXTEdHWOkCsoJDpO/gLHDBNcADWt4tm wEdZqGl5cTx4sj6LTYFpiGlGD6QRZNoRSA4luJkjLiQvBNj5Oa/TEqUPR0FDbwIt8BhQxPGKFuwd pLd+CEY0XXqJvStfkN1m45FEDUUd9SIGZ58JuN0UOe9S4B0FJpp81hsVf0fI0IGqCtTaMYMxsXU+ oZM= =YrrA -----END PGP SIGNATURE----- --------------esgQ6W4xJg61g3ZGvhVjs5XT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?519b5387-4561-94a1-f2e1-6fe6c4a4f35e>