addpart(8)

addpart8

Tell the kernel about the existence of a partition

Usage

addpart device partition start length

Overview

addpart tells the Linux kernel about the existence of the specified partition. The command is a simple wrapper around the "add partition" ioctl.

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

Parameters

device

The disk device.

partition

The partition number.

start

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

length

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

-h, --help

Display help text and exit.

-V, --version

Display version and exit.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 7 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10–11
  7. 12
  8. Arch

Reporting bugs

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 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.