parrot_mkalloc(1)

parrot_mkalloc1

Create a directory with a space allocation

Usage

FCparrot_mkalloc <path> <size>FT

Overview

FCparrot_mkallocFT creates a new directory with a space allocation. As the name suggests, the command only runs correctly inside of the Parrot virtual file system, on file servers where space allocation is enabled.

The path argument gives the new directory to create, and the size argument indicates how large the space allocation should be. The latter may use metric units such as K, M, B, etc to indicate kilobytes, megabytes, gigabytes, and so forth.

Options

-h

Show help text.

Exit status

On success, returns zero. On failure, returns non-zero. If the command is attempted on a filesystem that does not support space allocation, it will give the following error:


    

    
        

parrot_mkalloc: This filesystem does not support allocations.

Examples

To create a space allocation of ten gigabytes on a Chirp server:


    

    
        

% parrot_run bash % cd /chirp/myserver.somewhere.edu % parrot_mkalloc bigdir 10G % exit

Releases

6 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7–9
  2. 10
  3. 11
  4. 12
  5. 13

-h since Debian 10 (Buster).

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