diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2020-04-02 15:17:53 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2020-04-02 15:17:53 +0000 |
commit | 9546e08e7b68c25d57ec1687958e3b73c44eb915 (patch) | |
tree | 3686dff3707dbaf08b0e3dbbd6154212b0f30001 /sbin/recoverdisk/recoverdisk.1 | |
parent | 6995fb5eb7f2a9d935f9b75483333455624a11dd (diff) |
Add two options to recoverdisk(1) inspired by a recent
data-archæology project:
-u pattern
Fill unread parts of the output with pattern.
Default pattern is "_UNREAD_", empty pattern disables.
-v
Fancy status reporting using ANSI escapes and UTF-8
Notes
Notes:
svn path=/head/; revision=359563
Diffstat (limited to 'sbin/recoverdisk/recoverdisk.1')
-rw-r--r-- | sbin/recoverdisk/recoverdisk.1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sbin/recoverdisk/recoverdisk.1 b/sbin/recoverdisk/recoverdisk.1 index fd42f65ad5fb..1df6629480f7 100644 --- a/sbin/recoverdisk/recoverdisk.1 +++ b/sbin/recoverdisk/recoverdisk.1 @@ -35,6 +35,8 @@ .Op Fl b Ar bigsize .Op Fl r Ar readlist .Op Fl s Ar interval +.Op Fl u Ar pattern +.Op Fl v .Op Fl w Ar writelist .Ar source .Op Ar destination @@ -68,6 +70,13 @@ Read the list of blocks and block sizes to read from the specified file. How often we should update the writelist file while things go OK. The default is 60 and the unit is "progress messages" so if things go well, this is the same as once per minute. +.It Fl u Ar pattern +By default blocks which encounter read errors will be filled with +the pattern "_UNREAD_" in the output file. This option can be +used to specify another pattern. Nothing gets written if the string +is empty. +.It Fl v +Enables nicer status report using ANSI escapes and UTF-8. .It Fl w Ar writelist Write the list of remaining blocks to read to the specified file if .Nm |