disk_allocator(1)

disk_allocator1

Tool for creating and deleting loop device allocations of a given size.

Usage

FCdisk_allocator {[options] <create | delete> <target directory> <size> <filesystem>FT}

Overview

disk_allcator is a tool for creating and deleting loop device allocations of a given size in order to sandbox an application. For creating an allocation, it accepts a desired location for the device, the size for the sandbox, and the filesystem to mount. For deleting an allocation, disk_allocator needs only the directory of the mounted loop device which is to be removed.

You will need superuser priveleges to run disk_allocator on your local machine.

Options

-h,--help

Show this help screen.

-v,--version

Show version string.

Exit status

On success, returns zero. On failure, returns non-zero.

Examples

Create a disk allocation:


    

    
        

disk_allocator create /tmp/test 100MB ext2

Delete a disk allocation:


    

    
        

disk_allocator delete /tmp/test

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

From coop-computing-tools 1:7.14.5-1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.