diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-11 13:33:54 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-11 13:33:54 +0200 |
commit | 67918b32abb55d9ba6b329cf77660204d2385aa8 (patch) | |
tree | e0aaf741cfe39de236b43af5506b7d70b1fd7171 /util-linux/fsfreeze.c | |
parent | b9512fa6b32dacabdec3edf12ebfab927d1402ae (diff) |
fallocate: new applet
NAME
fallocate - preallocate or deallocate space to a file
SYNOPSIS
fallocate [-c|-p|-z] [-o offset] -l length [-n] filename
fallocate -d [-o offset] [-l length] filename
DESCRIPTION
fallocate is used to manipulate the allocated disk space for a file,
either to deallocate or preallocate it. For filesystems which support
the fallocate system call, preallocation is done quickly by allocating
blocks and marking them as uninitialized, requiring no IO to the data
blocks. This is much faster than creating a file by filling it with
zeroes.
function old new delta
fallocate_main - 179 +179
applet_names 2597 2606 +9
applet_main 1504 1508 +4
applet_suid 94 95 +1
applet_install_loc 188 189 +1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/fsfreeze.c')
-rw-r--r-- | util-linux/fsfreeze.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fsfreeze.c b/util-linux/fsfreeze.c index fb1ebdc1e..70dec24ec 100644 --- a/util-linux/fsfreeze.c +++ b/util-linux/fsfreeze.c @@ -13,7 +13,7 @@ //config: help //config: Halt new accesses and flush writes on a mounted filesystem. -//applet:IF_FSFREEZE(APPLET(fsfreeze, BB_DIR_SBIN, BB_SUID_DROP)) +//applet:IF_FSFREEZE(APPLET(fsfreeze, BB_DIR_USR_SBIN, BB_SUID_DROP)) //kbuild:lib-$(CONFIG_FSFREEZE) += fsfreeze.o |