From b5803897df7792d3137e8050ef3c3fb96288d24a Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 21 Aug 2017 17:57:54 +0200 Subject: initial commit of holes --- holes.1 | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 holes.1 (limited to 'holes.1') diff --git a/holes.1 b/holes.1 new file mode 100644 index 0000000..6d24b08 --- /dev/null +++ b/holes.1 @@ -0,0 +1,43 @@ +.Dd August 21, 2017 +.Dt HOLES 1 +.Os +.Sh NAME +.Nm holes +.Nd find runs of zero bytes +.Sh SYNOPSIS +.Nm +.Op Fl n Ar minlen +.Op Ar files\ ... +.Sh DESCRIPTION +.Nm +looks for runs of zero bytes (a.k.a. holes) in the specified input files +(or the standard input), +and prints the start adresses (in hexadecimal) +as well as the lengths (in decimal). +When multiple input files are specified, +.Nm +prefixes each line with the file name. +.Pp +By default, +only holes of at least 64 bytes are reported. +This can be changed using the +.Fl n +option. +.Sh EXIT STATUS +.Ex -std +.Sh SEE ALSO +.Xr fallocate 1 , +.Xr truncate 1 , +.Xr virt-sparsify 1 +.Sh AUTHORS +.An Leah Neukirchen Aq Mt leah@vuxu.org +.Sh LICENSE +.Nm +is in the public domain. +.Pp +To the extent possible under law, +the creator of this work +has waived all copyright and related or +neighboring rights to this work. +.Pp +.Lk http://creativecommons.org/publicdomain/zero/1.0/ -- cgit 1.4.1