disk_allocator(1)
β¨ 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-hcoming 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
π COPYRIGHT π
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
- debian bookworm: coop-computing-tools 9.9-2+b4 Β· GPL-2.0-only
- ubuntu jammy: coop-computing-tools 9.9-2ubuntu3 Β· GPL-2.0-only
- ubuntu noble: coop-computing-tools 9.9-4ubuntu4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms