parrot_mkalloc(1)

πŸ“¦
version 9.9 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– parrot_mkalloc β€” the manual page, bestie edition πŸ’–

okay so you know that parrot_mkalloc(1) thing? it lives in the Cooperative Computing Tools family, and it's genuinely one of the cutest little commands ever. let's get into it ✨


✨ NAME ✨

parrot_mkalloc β€” make a directory that comes with its own space allocation πŸŽ€


🌸 SYNOPSIS 🌸

parrot_mkalloc <path> <size>

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea, bestie: parrot_mkalloc creates a new directory with a space allocation. that's the whole vibe. it's giving "reserved seating but for bytes" πŸ’…

but and this is the important part β€” like the name literally spells out for you β€” this command only runs correctly inside the Parrot virtual file system, on file servers where space allocation is actually enabled. so don't just go running it wherever, it will simply not be that girl 😭

the path argument is the new directory you want to create. the size argument is how big the space allocation should be. and the size one is flexible like that β€” you can use metric units like K, M, B, etc. to mean kilobytes, megabytes, gigabytes, and so forth. yes she speaks in shorthand, we stan a multilingual queen 🌈


πŸ‘‘ OPTIONS πŸ‘‘

  • -h β€” show help text. that's it. that's the whole options section. she's minimal, she's focused, she's iconic 🫢

πŸ’€ EXIT STATUS πŸ’€

  • on success, it returns zero ✨
  • on failure, it returns non-zero πŸ™ˆ

and here's the specific situation you need to know about, no cap: if you try to run this on a filesystem that does not support space allocation, you're gonna get this error, exactly like this:

parrot_mkalloc: This filesystem does not support allocations.

so if you see that, it's not you, it's the filesystem πŸ’…


⭐ EXAMPLES ⭐

okay so say you wanna create a space allocation of ten gigabytes on a Chirp server. here's the whole little journey:

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

look at her go. 10G, directory named bigdir, done and dusted. ate that fr fr πŸ”₯


the Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. this software is distributed under the GNU General Public License. see the file COPYING for details.

(legal stuff but make it cute β€” the license is real and you should actually read COPYING, bestie, i'm not joking 🫢)


🌈 SEE ALSO 🌈


and that's the whole page, bestie!! go forth and allocate responsibly πŸ’–βœ¨

CCTools 8.0.0 DEVELOPMENT β€” yeah that's the version, she's in development, she's growing, she's evolving, main character energy only πŸ’…πŸŒΈπŸ§š

πŸ“¦ where this page comes from