DELPART(8)
๐ DELPART(8) โ System Administration
okay bestie, buckle up, because this one is short and iconic โจ
๐ธ NAME ๐ธ
delpart โ tell the kernel to forget about a partition ๐ง ๐จ
๐ฆ SYNOPSIS ๐ฆ
delpart device partition
โจ DESCRIPTION โจ
so basically, delpart asks the Linux kernel to forget about the specified partition (which is a number, bestie, just a number) on the specified device. that's it. that's the whole job. ๐ซถ
the way this works is that the command is just a simple wrapper around the "del partition" ioctl. no cap. it's giving middle-manager energy but make it syscall. ๐
โ ๏ธ ok this part matters: this command doesn't manipulate partitions on a block device. like, it's not out here editing partition tables and rearranging your whole setup. it just tells the kernel to pretend that partition was never there. the disk itself? untouched. periodt. ๐
๐ OPTIONS ๐
-h,--helpโ display help text and exit. your girl is helpful and then she leaves. ๐-V,--versionโ display version and exit. iconic reveal, then dip. โจ
๐ SEE ALSO ๐
addpart(8), fdisk(8), parted(8), partprobe(8), partx(8)
(yes bestie, addpart(8) is literally the opposite of this one, they're sisters ๐ฅฐ)
๐ REPORTING BUGS ๐
found a bug? for bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues> โ go tell them, they wanna know, fr fr ๐
โญ AVAILABILITY โญ
the delpart command is part of the util-linux package, which you can download from the Linux Kernel Archive at <https://www.kernel.org/pub/linux/utils/util-linux/> ๐ฆ
and that's the whole page, bestie, you ate it ๐ this little cutie is util-linux 2.42.4, dated 2026-09-21, and it's out here doing the most while doing the least. slay, DELPART(8), slay ๐ธโจ
๐ฆ 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