2007-02-09 12:15:23 -06:00
|
|
|
.\" addpart.8 --
|
|
|
|
.\" Copyright 2007 Karel Zak <kzak@redhat.com>
|
|
|
|
.\" Copyright 2007 Red Hat, Inc.
|
|
|
|
.\" May be distributed under the GNU General Public License
|
2011-08-18 15:18:34 -05:00
|
|
|
.TH ADDPART 8 "January 2007" "util-linux" "System Administration"
|
2007-02-09 12:15:23 -06:00
|
|
|
.SH NAME
|
|
|
|
addpart \-
|
|
|
|
simple wrapper around the "add partition" ioctl
|
|
|
|
.SH SYNOPSIS
|
2009-07-22 04:29:05 -05:00
|
|
|
.B addpart
|
|
|
|
.I device partition start length
|
2007-02-09 12:15:23 -06:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.B addpart
|
|
|
|
is a program that informs the Linux kernel of new partition.
|
|
|
|
|
2011-01-04 13:15:51 -06:00
|
|
|
This command doesn't manipulate partitions on hard drive.
|
2007-02-09 12:15:23 -06:00
|
|
|
|
|
|
|
.SH PARAMETERS
|
|
|
|
.TP
|
2009-07-22 04:29:05 -05:00
|
|
|
.I device
|
2007-02-09 12:15:23 -06:00
|
|
|
Specify the disk device.
|
|
|
|
.TP
|
2009-07-22 04:29:05 -05:00
|
|
|
.I partition
|
2007-02-09 12:15:23 -06:00
|
|
|
Specify the partition number.
|
|
|
|
.TP
|
2009-07-22 04:29:05 -05:00
|
|
|
.I start
|
2009-02-26 05:31:07 -06:00
|
|
|
Specify the begin of the partition (in 512-byte sectors).
|
2007-02-09 12:15:23 -06:00
|
|
|
.TP
|
2009-07-22 04:29:05 -05:00
|
|
|
.I length
|
2009-02-26 05:31:07 -06:00
|
|
|
Specify the length of the partition (in 512-byte sectors).
|
2007-02-09 12:15:23 -06:00
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
.BR delpart (8),
|
|
|
|
.BR fdisk (8),
|
|
|
|
.BR parted (8),
|
|
|
|
.BR partprobe (8),
|
|
|
|
.BR partx (8)
|
2007-07-02 18:17:04 -05:00
|
|
|
.SH AVAILABILITY
|
2010-11-30 04:41:59 -06:00
|
|
|
The addpart command is part of the util-linux package and is available from
|
|
|
|
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
|