[bmap-tools] [PATCH 9/9] man page: mention SEEK_HOLE

Artem Bityutskiy dedekind1 at gmail.com
Tue Jan 28 08:46:01 EST 2014


From: Artem Bityutskiy <artem.bityutskiy at intel.com>

Mention that we fall-back to SEEK_HOLE when FIEMAP is not supported.

Change-Id: I3aec79f214982e6f4aec0f9900f26231a26c665f
Signed-off-by: Artem Bityutskiy <artem.bityutskiy at intel.com>
---
 docs/man1/bmaptool.1 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/man1/bmaptool.1 b/docs/man1/bmaptool.1
index dffcc08..a1c6f0e 100644
--- a/docs/man1/bmaptool.1
+++ b/docs/man1/bmaptool.1
@@ -222,8 +222,10 @@ from "imag.bmap.asc".
 
 .PP
 Generate bmap for a regular file IMAGE. Internally, this subcommand uses the
-Linux "FIEMAP" ioctl to find out which IMAGE blocks are mapped. By default, the
-resulting bmap file is printed to stdout, unless the "--output" option is used.
+Linux "FIEMAP" ioctl to find out which IMAGE blocks are mapped. However, if
+"FIEMAP" is not supported, the "SEEK_HOLE" feature of the "lseek" system call
+is used instead. By default, the resulting bmap file is printed to stdout,
+unless the "--output" option is used.
 
 .PP
 The IMAGE file is always synchronized before the block map is generated. And it
-- 
1.8.3.1




More information about the Bmap-tools mailing list