From nobody Wed Mar 2 06:45:45 2022 X-Original-To: bugs@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 201F719E9FAB for ; Wed, 2 Mar 2022 06:45:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K7l4T680nz3klH for ; Wed, 2 Mar 2022 06:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AF4271ED83 for ; Wed, 2 Mar 2022 06:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2226jjeg028313 for ; Wed, 2 Mar 2022 06:45:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2226jjdr028312 for bugs@FreeBSD.org; Wed, 2 Mar 2022 06:45:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262241] gpart(8) destroy: option -F seems to not effectively destroy all partitions in some situations Date: Wed, 02 Mar 2022 06:45:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sblachmann@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646203545; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/r9KF6Vpm7rP8LD7ikn6q3updwdHWovintdhaynLDn4=; b=xeZxJhj6uPY2ohKGAyymEkL6NFC98oMYSAEzS7Z3I1b3zE3hIO4jP1k72pSqA8Tz4GPE3X f5yYggX++s39t96B+3xFf6vwBkgWV8oRLa6H4ywYpkAZKKEmAtNcm8U0Hu0smFL9bGcJHo 8eUyeVBrKEaIk/Xwy2K3L7525mGK/mRd45nFlJLCUWFzzRJm3p4GwZnucQbP5o78AT/+x7 GvMEyI1hec9xx+LjpzoIHcPjX8rDWKp7TeTXnzZyxcOLsD/Mdea68dAGYhfR7pE+RrSmSA OenLiYkMMeNmZ+Iq9Kos4oHLxtIBvYWYSPNFl9tQKCjFmdr4cEPEAydEEYP4ZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646203545; a=rsa-sha256; cv=none; b=w3VvR/pyh+zJbHnhOPV6u+/gADQXMCFm9Yr/vy2pMHDZ+Ad77yjCZ3ICkAPwSxaLduTTTA JdUOZTsAfCsgCHY0LKZpx87bo+mDW1CTNY0m0KFwX9fzOOW1XBgb5EZyCkFISI0v3IWsuA heXCQtQS7nZ3rWlxFH7s9KgU2naFb1M3YMq+beYK2ICo9NNexzLdWfW66y8T565i2rVR4u qaeoDpOYvis3y/uMzj3rb95rMhi5gh15DDOvc1KV0IBOMq+YJqqIrbBcXiZdx8AVl9bJCU tDiSif32MKOWLiIAsH9f0pUE9wrvFPzUuZtwtcr5eXST50oZPUy4+N/pWCW19w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262241 Stefan B. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sblachmann@gmail.com --- Comment #3 from Stefan B. --- Hmm. So "gpart destroy -F geom" does _not_ actually wipe the partition block, at least if it is a MBR one. Now I think I understand that strange error that I encountered when attempt= ing to create a clone on a (formerly) MBR partitioned USB stick while testing my new Skunk Cloner (https://github.com/SkunkOS/SkunkCloner). If gpart destroy does _not_ work under some configurations, the only work-around to ensure clean partition data then would be to zero-dd the partition table. Honestly, I would rather prefer to be able to use gpart destroy to clear out any old partition data! I don't like having no other choice than to hackingly use dd to clear parti= tion data. --=20 You are receiving this mail because: You are the assignee for the bug.=