summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-12-07 13:18:01 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-12-07 13:18:01 +0000
commitfec10b3f1b52a18c8441202bdcac32887cb48788 (patch)
treea7a16f52012d839af81ff59d19083f51ce1fe1c4
parent965eaba4d9fe30eb4f53627e165110e2c79dc8dd (diff)
downloadpaxutils-fec10b3f1b52a18c8441202bdcac32887cb48788.tar.gz
(Generate Mode): Document --seek option.
-rw-r--r--doc/genfile.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/genfile.texi b/doc/genfile.texi
index c690af5..f9ef870 100644
--- a/doc/genfile.texi
+++ b/doc/genfile.texi
@@ -59,6 +59,12 @@ genfile --length 100 --file outfile
If @option{--length} is not given, @command{genfile} will
generate an empty (zero-length) file.
+@cindex @command{genfile}, seeking to a given offset
+ The command line option @option{--seek=@var{N}} istructs @command{genfile}
+to skip the given number of bytes (@var{N}) in the output file before
+writing to it. It is similar to the @option{seek=@var{N}} of the
+@command{dd} utility.
+
@cindex @command{genfile}, reading a list of file names
You can instruct @command{genfile} to create several files at one
go, by giving it @option{--files-from} (@option{-T}) option followed