blob: d385ba63f6accc9299e9b9e2ece76e6ac6024476 [file] [log] [blame]
.\" addpart.8 --
.\" Copyright 2007 Karel Zak <kzak@redhat.com>
.\" Copyright 2007 Red Hat, Inc.
.\" May be distributed under the GNU General Public License
.TH ADDPART 8 "11 Jan 2007"
.SH NAME
addpart \-
simple wrapper around the "add partition" ioctl
.SH SYNOPSIS
.B addpart
.I device partition start length
.SH DESCRIPTION
.B addpart
is a program that informs the Linux kernel of new partition.
This command doesn't manipulate with partitions on hard drive.
.SH PARAMETERS
.TP
.I device
Specify the disk device.
.TP
.I partition
Specify the partition number.
.TP
.I start
Specify the begin of the partition (in 512-byte sectors).
.TP
.I length
Specify the length of the partition (in 512-byte sectors).
.SH SEE ALSO
.BR delpart (8),
.BR fdisk (8),
.BR parted (8),
.BR partprobe (8),
.BR partx (8)
.SH AVAILABILITY
The addpart command is part of the util-linux-ng package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.