disk_allocator(1)

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

✨ disk_allocator(1) ✨

okay bestie, welcome to the disk_allocator page from the Cooperative Computing Tools manual πŸ’– this is the little tool that makes loop device allocations happen, and I'm gonna walk you through every single bit of it, no skips, no cap.


🌸 NAME 🌸

disk_allocator β€” a tool for creating and deleting loop device allocations of a given size.


πŸŽ€ SYNOPSIS πŸŽ€

disk_allocator [options] <create|delete> <target directory> <size>
<filesystem>

πŸ¦‹ DESCRIPTION πŸ¦‹

disk_allocator (yes the original page spells it disk_allcator in this paragraph, we don't gatekeep typos πŸ’€) is the tool you use to create and delete loop device allocations of a size you pick, so you can sandbox an application. It's giving personal little bubble for your app.

When you're creating an allocation, you hand it three things: the location you want the device to live, the size for the sandbox, and the filesystem to mount. That's the full trio, don't skimp.

When you're deleting an allocation, it's way chiller β€” disk_allocator only needs the directory of the mounted loop device that's getting removed. That's it. One lil argument. Slay.

⚠️ heads up bestie: you will need superuser privileges to run disk_allocator on your local machine. like, actually. no skipping this one.

πŸ’… OPTIONS πŸ’…

  • -h, --help β€” shows this help screen. your girl -h coming through with the answers 🫢
  • -v, --version β€” shows the version string. let you know exactly which era of this tool you're living in ✨

πŸ‘‘ EXIT STATUS πŸ‘‘

  • On success, returns zero. we love a clean exit 😌
  • On failure, returns non-zero. something went wrong, she's telling you fr fr.

🌈 EXAMPLES 🌈

Create a disk allocation:

disk_allocator create /tmp/test 100MB ext2

Delete a disk allocation:

disk_allocator delete /tmp/test

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.


and that's the whole page, bestie, you ate it πŸ“ this was the disk_allocator(1) page, CCTools 8.0.0 DEVELOPMENT edition β€” go forth and allocate responsibly, mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from