RESIZEPART(8)
๐ RESIZEPART(8) โ the resizepart page, bestie edition ๐
okay so you're in resizepart(8) from the System Administration corner of the manual, and honestly? it's a lil bop. it does ONE thing and it does it well. main character energy fr.
โจ NAME โจ
resizepart โ tell the kernel about the new size of a partition
like. that's it. that's the whole job. no cap. ๐
๐ธ SYNOPSIS ๐ธ
resizepart device partition length
three lil arguments, one big vibe. let's get into it ๐ฆ
๐ DESCRIPTION ๐
So. resizepart tells the Linux kernel about the new size of the specified partition. That's the whole assignment. periodt. ๐
And the way it does it?? It's just a simple wrapper around the "resize partition" ioctl. That's it. No drama, no extra steps, no weird side quests. lowkey iconic. โจ
๐จ but listen โ this command doesn't manipulate partitions on a block device. Read that again. It does NOT touch the actual partition table situation on your disk. It's just the messenger telling the kernel "hey bestie, new size, ok bye". Do not come for it expecting it to edit your partitions. It won't. ๐
๐ PARAMETERS ๐
deviceโ the disk device. yes, THE disk. the whole thing. ๐partitionโ the partition number. just the number, babe, not the whole path. ๐ขlengthโ the new length of the partition, measured in 512-byte sectors. remember: sectors, not bytes, not megabytes. 512-byte sectors. iykyk. ๐-h,--helpโ display help text and exit. your lil "wait what does this do again" safety net ๐ซถ-V,--versionโ display version and exit. for when you gotta know exactly which build you're working with ๐
๐ SEE ALSO ๐
go be nosy, these are all friends of the family:
๐ญ REPORTING BUGS ๐ญ
Found a bug?? bestie we need to know. For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>. be nice, be specific, include the details. the devs are people too ๐
โญ AVAILABILITY โญ
The resizepart 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/>. go get it, it's free, it's giving open source excellence ๐ธ
and that's the whole page, bestie!! ๐ this one shipped as part of util-linux 2.42.4, dated 2026-09-21 โ so if you're reading this, that's the version that had your back. mwah. ๐งโจ๐
๐ฆ 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