Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2023 11:03:56 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        freebsd-hackers@freebsd.org, Graham Perrin <grahamperrin@freebsd.org>, Warner Losh <imp@bsdimp.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: gpart destroy, in depth
Message-ID:  <372DCA30-5F1D-48E7-9D12-159E33EC1878@cschubert.com>
In-Reply-To: <519b5387-4561-94a1-f2e1-6fe6c4a4f35e@freebsd.org>
References:  <64e88636-1e03-7ff5-7d3f-e8a36117cdbe@freebsd.org> <CANCZdfoZexT2ddX_YocTW9u-qhaD6nWoTtFd5xMWqNTbdtwWSA@mail.gmail.com> <519b5387-4561-94a1-f2e1-6fe6c4a4f35e@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On April 11, 2023 10:35:40 AM PDT, Graham Perrin <grahamperrin@freebsd=2Eor=
g> wrote:
>On 11/04/2023 14:24, Warner Losh wrote:
>
>> It writes zeros to the partition table=2E
>>=20
>> Warner
>
>
>Thanks=2E
>
>Is it precise about where it ceases writing zeros in the areas previously=
 occupied by the table and backup table?
>
>Or does it (for want of a better expression) spill over, a little?
>
>>=20
>> On Tue, Apr 11, 2023, 7:13 AM Graham Perrin <grahamperrin@freebsd=2Eorg=
> wrote:
>>=20
>>     Please: what, exactly, occurs when a partition table is destroyed b=
y
>>     gpart(8)?
>>=20
>>     Background: =E2=80=A6
>>=20

You should be able to simply recreate the partitions as before=2E The data=
 will be untouched, unless the disk has been reused=2E


--=20
Cheers,
Cy Schubert <Cy=2ESchubert@cschubert=2Ecom>
FreeBSD UNIX:  <cy@FreeBSD=2Eorg>  Web:  https://FreeBSD=2Eorg
NTP:                     <cy@nwtime=2Eorg>    Web:  https://nwtime=2Eorg
                                                    e^(i*pi)+1=3D0

Pardon the typos=2E Small keyboard in use=2E



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?372DCA30-5F1D-48E7-9D12-159E33EC1878>