logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

disk_allocator - tool for creating and deleting loop device allocations of a given size.

Description

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.

Examples

       Create a disk allocation:

               disk_allocator create /tmp/test 100MB ext2

       Delete a disk allocation:

               disk_allocator delete /tmp/test

Exit Status

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

Name

disk_allocator - tool for creating and deleting loop device allocations of a given size.

Options

-h,--help
              Show this help screen.

        -v,--version
              Show version string.

Synopsis

       disk_allocator [options] <create|delete><targetdirectory><size><filesystem>

See Also