resizepart(8)

resizepart8

Tell the kernel about the new size of a partition

Usage

resizepart device partition length

Overview

resizepart tells the Linux kernel about the new size of the specified partition. The command is a simple wrapper around the "resize partition" ioctl.

This command doesn’t manipulate partitions on a block device.

Parameters

device

The disk device.

partition

The partition number.

length

The new length of the partition (in 512-byte sectors).

-h, --help

Display help text and exit.

-V, --version

Display version and exit.

Releases

7 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10–11
  4. 12
  5. 13
  6. Arch

Reporting bugs

For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.

Availability

The resizepart command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.

From util-linux 2.42.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.