From nobody Tue Apr 18 18:22:03 2023 X-Original-To: freebsd-hackers@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 4Q1C1q2xtSz45TNN for ; Tue, 18 Apr 2023 18:22:07 +0000 (UTC) (envelope-from dan@langille.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1C1p3F0tz3k8x; Tue, 18 Apr 2023 18:22:06 +0000 (UTC) (envelope-from dan@langille.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm3 header.b=cqb9YF4C; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=Iw7se3Cd; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=dan@langille.org; dmarc=pass (policy=none) header.from=langille.org Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6D6FA5C0080; Tue, 18 Apr 2023 14:22:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 18 Apr 2023 14:22:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1681842125; x=1681928525; bh=qj o3ew19coZuLvMDdwZWn0dK9dB12shp9CGx0UJ8K/s=; b=cqb9YF4C9cl03cjws8 CVs4FbXW8hjKCmsu3V3AHzy99kOy2OSoS2tDDn9DxQeKzczmQYThsv2TuZH+b1xy ZvdAwDFFfQdJkVDfWRZ/ZoLZuyCyL3jOdbS2RqJYEUJU1LbkVd4lUflIwuqL5Fm9 yKM2gyfzdEazRGVf24j4vxVRwkeoMWKKDth4NDURo22HHSDxWIRdx+63lLFUZrdr C5+cyWkPozfga3MGbDYkvA7+90WyU558hR+0nJL6umL02vwlOJLKdJqXSzHdZZYv +yPfT1m1WMOmR9E4dVPfcL8RZCAb7LRopm8pUNybgjKT6UBXoca48Kc6rH/q+/6h FoHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1681842125; x=1681928525; bh=qjo3ew19coZuL vMDdwZWn0dK9dB12shp9CGx0UJ8K/s=; b=Iw7se3Cdh2fwpP7FY4c8wd2AAWdud CvUQbSZUeAFJEMA/wacNzJsx2nRMsNbXf8wnM3c/O+qRttSlT3umzpUpphYd34Tu SejFpzmJP062ZnXrExNA6xJjJJQk+8QCkvXNzS63WZNoY5Apw3ImFgeF4vCeRE3P oVJWchI098acpDMx0IGJKC7NqrimLkGYTSOOPu+SOYI8NPHgoCN/YG6DixUO217o iH1TiV4PhBgwOIfNIKiF70Hun/C1slFV0MEW4h7w9V6BcIBLPzHWQevWBj49YvR9 N5Tj/rdJyWUIDS1H5ZMAiMa7IMuYuF3Q21YJkCXu+IiZMUhSyu24yu1DA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdelkedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfevfhfhkffffgggjggtsegrtderredtfeejnecuhfhrohhmpeffrghn ucfnrghnghhilhhlvgcuoegurghnsehlrghnghhilhhlvgdrohhrgheqnecuggftrfgrth htvghrnhepgefftdfftdegtdfgleevfedukeffheehtddvleekgeelueejhedtveefuedt ieejnecuffhomhgrihhnpehlrghnghhilhhlvgdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghnsehlrghnghhilhhlvgdrohhr gh X-ME-Proxy: Feedback-ID: ifbf9424e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Apr 2023 14:22:05 -0400 (EDT) Subject: Re: gpart destroy, in depth To: Graham Perrin Cc: freebsd-hackers@FreeBSD.org References: <64e88636-1e03-7ff5-7d3f-e8a36117cdbe@freebsd.org> <29390cd8-56cd-aced-990a-f2b25a00aaed@freebsd.org> From: Dan Langille Message-ID: <0acc8ae5-b154-dd5f-1d63-fb8c00f260ed@langille.org> Date: Tue, 18 Apr 2023 14:22:03 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 In-Reply-To: <29390cd8-56cd-aced-990a-f2b25a00aaed@freebsd.org> Content-Type: multipart/alternative; boundary="------------419845F67D488413A84F975E" Content-Language: en-US X-Spamd-Result: default: False [-5.10 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm3,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.27:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[dan]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4Q1C1p3F0tz3k8x X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------419845F67D488413A84F975E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Graham Perrin wrote on 4/11/23 1:46 PM: > On 11/04/2023 14:32, Dmitry Morozovsky wrote: >>> … >> I suppose sysutils/testdisk will be useful for recovering, as most of actual >> file systems are left intact > > > Thanks, I forgot that the utility has this capability. > > This reignites hope of recovery without a third party. > > 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). > > Also, thanks to the people who responded privately. > Any update on this please? -- Dan Langille dan@langille.org : https://langille.org/ --------------419845F67D488413A84F975E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Graham Perrin wrote on 4/11/23 1:46 PM:
On 11/04/2023 14:32, Dmitry Morozovsky wrote:
I suppose sysutils/testdisk will be useful for recovering, as most of actual 
file systems are left intact


Thanks, I forgot that the utility has this capability.

This reignites hope of recovery without a third party.

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). 

Also, thanks to the people who responded privately.

Any update on this please?

--------------419845F67D488413A84F975E--