Date: Tue, 11 Apr 2023 18:46:48 +0100 From: Graham Perrin <grahamperrin@freebsd.org> To: Dmitry Morozovsky <marck@rinet.ru> Cc: freebsd-hackers@FreeBSD.org Subject: Re: gpart destroy, in depth Message-ID: <29390cd8-56cd-aced-990a-f2b25a00aaed@freebsd.org> In-Reply-To: <alpine.BSF.2.00.2304111630560.32077@woozle.rinet.ru> References: <64e88636-1e03-7ff5-7d3f-e8a36117cdbe@freebsd.org> <alpine.BSF.2.00.2304111630560.32077@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------5l42PBLi9Kl0KfR0LWijebST Content-Type: multipart/mixed; boundary="------------UZoFeYqD9tSuRBHj0Z7OEk76"; protected-headers="v1" From: Graham Perrin <grahamperrin@freebsd.org> To: Dmitry Morozovsky <marck@rinet.ru> Cc: freebsd-hackers@FreeBSD.org Message-ID: <29390cd8-56cd-aced-990a-f2b25a00aaed@freebsd.org> Subject: Re: gpart destroy, in depth References: <64e88636-1e03-7ff5-7d3f-e8a36117cdbe@freebsd.org> <alpine.BSF.2.00.2304111630560.32077@woozle.rinet.ru> In-Reply-To: <alpine.BSF.2.00.2304111630560.32077@woozle.rinet.ru> --------------UZoFeYqD9tSuRBHj0Z7OEk76 Content-Type: multipart/alternative; boundary="------------40jmnQhciEob1sS5JL2ZPdkD" --------------40jmnQhciEob1sS5JL2ZPdkD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTEvMDQvMjAyMyAxNDozMiwgRG1pdHJ5IE1vcm96b3Zza3kgd3JvdGU6DQo+PiDigKYN Cj4gSSBzdXBwb3NlIHN5c3V0aWxzL3Rlc3RkaXNrIHdpbGwgYmUgdXNlZnVsIGZvciByZWNv dmVyaW5nLCBhcyBtb3N0IG9mIGFjdHVhbA0KPiBmaWxlIHN5c3RlbXMgYXJlIGxlZnQgaW50 YWN0DQoNCg0KVGhhbmtzLCBJIGZvcmdvdCB0aGF0IHRoZSB1dGlsaXR5IGhhcyB0aGlzIGNh cGFiaWxpdHkuDQoNClRoaXMgcmVpZ25pdGVzIGhvcGUgb2YgcmVjb3Zlcnkgd2l0aG91dCBh IHRoaXJkIHBhcnR5Lg0KDQpSZTogbXkgcXVlc3Rpb24gdG8gV2FybmVyIGFib3V0IHByZWNp c2VuZXNzLCBub3cgSSByZWFsaXNlLCB0aGUgYW5zd2VyIA0KaXMgYWxtb3N0IGNlcnRhaW5s eSAiWWVzIiwgYmVjYXVzZSB0aGUgbWFudWFsIHBhZ2UgZm9yIGdwYXJ0KDgpIG5vdGVzIA0K dGhhdCB0aGUgJ3Jlc3RvcmUnIGFyZ3VtZW50L2NvbW1hbmQsIHdoaWNoIGRvZXMgbm90IGFm ZmVjdCB0aGUgY29udGVudCANCm9mIHBhcnRpdGlvbnMsIGNhbiBiZSBwcmVjZWRlZCBieSBk ZXN0cnVjdGlvbiAoLUYpLg0KDQpBbHNvLCB0aGFua3MgdG8gdGhlIHBlb3BsZSB3aG8gcmVz cG9uZGVkIHByaXZhdGVseS4NCg0K --------------40jmnQhciEob1sS5JL2ZPdkD 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;"> <div class=3D"moz-cite-prefix">On 11/04/2023 14:32, Dmitry Morozovsky= wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:alpine.BSF.2.00.2304111630560.32077@woozle.rinet.ru"> <blockquote type=3D"cite" style=3D"color: #007cff;"> <pre class=3D"moz-quote-pre" wrap=3D"">=E2=80=A6 </pre> </blockquote> <pre class=3D"moz-quote-pre" wrap=3D"">I suppose sysutils/testdisk = will be useful for recovering, as most of actual=20 file systems are left intact</pre> </blockquote> <p><br> </p> <p>Thanks, I forgot that the utility has this capability. <br> </p> <p>This reignites hope of recovery without a third party. <br> </p> <p>Re: my question to Warner about preciseness, now I realise, the answer is almost certainly "Yes", because the manual page for gpart(8) notes that the 'restore' argument/command, which does not affect the content of partitions, can be preceded by destruction (-F).=C2=A0</p> <p>Also, thanks to the people who responded privately. <br> </p> </body> <lt-container></lt-container> </html> --------------40jmnQhciEob1sS5JL2ZPdkD-- --------------UZoFeYqD9tSuRBHj0Z7OEk76-- --------------5l42PBLi9Kl0KfR0LWijebST 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+28ly8Kt2dIb0oY1AsFAmQ1nQkFAwAAAAAACgkQt2dIb0oY1AuI 6g/9H/udi9+eqtO2idhKa3WKYT6M47XCRUmgJuM0VTaldEl8ANHP85ZaGbJ764q10f2mFAVCXGrQ h5McaoC4am1Trj4Eqf75wTLMbwWc38rq/P5HUPjavDn/90EBuJlqDiHjE04X02Ty3umbeJSCWgA9 31yB+/yYn7ycy6ffkT6Yagu51Iwfir1e5BFXijyBuwP4SlmJCZAw91lV4FQ7Lg5eVMbbiimmf0cp QVhOttofGwMcsytwG0o9XWtMk5/OqhKZi+xnJmL0VYF/xrWl+Tm0l0uesIT6DjlrfHN+GyDqL/ON nzx9Qm07c+JzDQxufnqp2FjYLxdA4RyuAjGRhCP+AR3i6deCd+PZ/hDfq0EvoDYN957lhUZzV6Hw 5w9nSbx1lG9anQ8zbMPshn4neigSzEOHtk8+B7nKAJVJJNt3X7Wi2Q/D8roCvvWXf3ecRwfZjzvM koEH/HdDoDS0+IP7hAQH+GFG2hmFZEryCCUGljpnYzSJAQoBZsWvvFbzuWMv1qJ2A2EwqrazC2Rt zdm4pPB9s3kPe7cl0pH8jgDXe2PZtKHUHdCUbg98k60EZOB9QoQJe5eqLwh15y7q2IXEEuW3RbwU kLr3SttDoTzMWpZEqeEcISb1Gmwt3a419hEOqsoS3OV6VHesd3l6ctO/dYi5zitWpn+QnaZ7TsM7 fio= =vDkx -----END PGP SIGNATURE----- --------------5l42PBLi9Kl0KfR0LWijebST--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29390cd8-56cd-aced-990a-f2b25a00aaed>