ADDPART(8)
โจ ADDPART โ the addpart(8) of it all โจ
okay so bestie, you know how the kernel is like, out here living its life, having zero clue that a partition even exists? ๐ Yeah. This is the little sysadmin tool from the System Administration corner of your system that fixes that. One job. Iconic behaviour.
๐ธ NAME ๐ธ
addpart โ tell the kernel about the existence of a partition ๐ซถ
๐ SYNOPSIS ๐
addpart device partition start length
๐ DESCRIPTION ๐
So addpart literally just tells the Linux kernel that the partition you're describing is, in fact, real and out there. That's it, that's the whole vibe. โจ
Under the hood it's a simple wrapper around the "add partition" ioctl โ no drama, no extra steps, just the one call. iykyk. ๐ฅ
โ ๏ธ Okay important one, bestie: this command doesnโt manipulate partitions on a block device. Like, at all. It does not go in there and change anything. It just informs. It's giving "letting the group chat know" energy, not "editing the group chat" energy. ๐
๐ฆ PARAMETERS ๐ฆ
deviceโ the disk device. ๐ฅ๏ธpartitionโ the partition number. ๐ขstartโ where the partition begins, measured in 512-byte sectors. ๐lengthโ how long the partition is, also in 512-byte sectors. ๐
And then the two lil flag besties that every util-linux command comes with:
-h,--helpโ display help text and exit. ๐-V,--versionโ display version and exit. ๐ท๏ธ
๐ SEE ALSO ๐
The whole squad, go say hi: delpart(8), fdisk(8), parted(8), partprobe(8), partx(8) ๐
๐ REPORTING BUGS ๐
Found a bug? not the vibe, but also thank you for your service ๐ซก. For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.
๐ AVAILABILITY ๐
The addpart command is part of the util-linux package, which you can download from the Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>. Go get it, it's free, it's iconic. โจ
and that's the whole page, bestie!! ๐ This was util-linux 2.42.4, dated 2026-09-21, and yes, ADDPART(8) ate and left no crumbs. periodt. ๐
๐ธ๐ฆ
๐ฆ where this page comes from
- arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms