diff options
author | Rodrigo Campos | 2014-01-26 16:06:50 +0100 |
---|---|---|
committer | Karel Zak | 2014-02-14 11:31:12 +0100 |
commit | 24b2a479fd5ba138e9b836fa2115939eb3b59dfe (patch) | |
tree | 59739edae84554396409a96a35b292e6ad274f10 /bash-completion | |
parent | fallocate: Hide #ifdef tricks to call fallocate in a function (diff) | |
download | kernel-qcow2-util-linux-24b2a479fd5ba138e9b836fa2115939eb3b59dfe.tar.gz kernel-qcow2-util-linux-24b2a479fd5ba138e9b836fa2115939eb3b59dfe.tar.xz kernel-qcow2-util-linux-24b2a479fd5ba138e9b836fa2115939eb3b59dfe.zip |
fallocate: Add "--dig-holes" option
This option tries to detect chunk of '\0's and punch a hole, making the file
sparse in-place.
[kzak@redhat.com: - fix coding style, use xalloc.h and err.h]
Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'bash-completion')
-rw-r--r-- | bash-completion/fallocate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion/fallocate b/bash-completion/fallocate index 2c6e4cbae..ce5f4f14c 100644 --- a/bash-completion/fallocate +++ b/bash-completion/fallocate @@ -15,7 +15,7 @@ _fallocate_module() esac case $cur in -*) - OPTS="--keep-size --punch-hole --offset --length --help --version" + OPTS="--keep-size --punch-hole --dig-holes --offset --length --help --version" COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) return 0 ;; |