Date: Mon, 28 Feb 2022 06:15:56 +0000 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 Message-ID: <bug-262241-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262241 Bug ID: 262241 Summary: gpart(8) destroy: option -F seems to not effectively destroy all partitions in some situations Product: Base System Version: CURRENT Hardware: Any URL: https://www.freebsd.org/cgi/man.cgi?query=3Dgpart&sektio n=3D8&manpath=3DFreeBSD#DESCRIPTION OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: grahamperrin@gmail.com From <https://www.freebsd.org/cgi/man.cgi?query=3Dgpart&sektion=3D8&manpath=3DFr= eeBSD#EXAMPLES>:=20 > =E2=80=A6 -F option can be given with destroy to delete all of the partit= ions=20 > before destroying the partitioning scheme. =E2=80=A6 >From <https://forums.freebsd.org/posts/558256>:=20 =E2=80=A6 root@mowa219-gjp4-8570p-freebsd:~ # gpart create -s MBR da4 da4 created root@mowa219-gjp4-8570p-freebsd:~ # gpart add -t freebsd da4 da4s1 added root@mowa219-gjp4-8570p-freebsd:~ # gpart create -s BSD da4s1 da4s1 created root@mowa219-gjp4-8570p-freebsd:~ # gpart add -t freebsd-swap da4s1 da4s1a added =E2=80=A6 root@mowa219-gjp4-8570p-freebsd:~ # gpart destroy -F da4 da4 destroyed root@mowa219-gjp4-8570p-freebsd:~ # gpart create -s MBR da4 da4 created root@mowa219-gjp4-8570p-freebsd:~ # gpart add -t freebsd da4 da4s1 added root@mowa219-gjp4-8570p-freebsd:~ # gpart create -s BSD da4s1 gpart: geom 'da4s1': File exists root@mowa219-gjp4-8570p-freebsd:~ # The existence of da4s1 suggests that prior destruction by gpart was not entirely effective. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262241-227>