From a144f912d948bd8900809424fcefb61d0b816568 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 12 Nov 2021 03:56:15 +0100 Subject: [PATCH 290/310] geli(8): Document the "search" subcommand Obtained from: ElectroBSD --- lib/geom/eli/geli.8 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/geom/eli/geli.8 b/lib/geom/eli/geli.8 index dd3f059cdd13..c4e1b3e7c8c1 100644 --- a/lib/geom/eli/geli.8 +++ b/lib/geom/eli/geli.8 @@ -91,6 +91,9 @@ utility: .Op Fl bBdDgGrRtT .Ar prov ... .Nm +.Cm search +.Ar prov +.Nm .Cm setkey .Op Fl pPv .Op Fl i Ar iterations @@ -560,6 +563,13 @@ subcommand. .It Fl T Disable TRIM/UNMAP passthru. .El +.It Cm search +Search for metadata on the provider, starting at the end and +going backwards until valid metadata is found or the beginning +of the provider is reached. +This subcommand may be useful if, for example, the GPT partition +data got corrupted or deleted while the data on the previously +accessible partitions is still expected to be valid. .It Cm setkey Install a copy of the Master Key into the selected slot, encrypted with a new User Key. -- 2.37.1