fallocate: new applet
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 11 Apr 2017 11:33:54 +0000 (13:33 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 11 Apr 2017 11:33:54 +0000 (13:33 +0200)
commit67918b32abb55d9ba6b329cf77660204d2385aa8
treee0aaf741cfe39de236b43af5506b7d70b1fd7171
parentb9512fa6b32dacabdec3edf12ebfab927d1402ae
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>
util-linux/fallocate.c [new file with mode: 0644]
util-linux/fsfreeze.c