]> git.ipfire.org Git - thirdparty/util-linux.git/blob - disk-utils/addpart.8
build-sys: convert disk-utils/ to module
[thirdparty/util-linux.git] / disk-utils / addpart.8
1 .\" addpart.8 --
2 .\" Copyright 2007 Karel Zak <kzak@redhat.com>
3 .\" Copyright 2007 Red Hat, Inc.
4 .\" May be distributed under the GNU General Public License
5 .TH ADDPART 8 "January 2007" "util-linux" "System Administration"
6 .SH NAME
7 addpart \-
8 simple wrapper around the "add partition" ioctl
9 .SH SYNOPSIS
10 .B addpart
11 .I device partition start length
12 .SH DESCRIPTION
13 .B addpart
14 is a program that informs the Linux kernel of new partition.
15
16 This command doesn't manipulate partitions on hard drive.
17
18 .SH PARAMETERS
19 .TP
20 .I device
21 Specify the disk device.
22 .TP
23 .I partition
24 Specify the partition number.
25 .TP
26 .I start
27 Specify the begin of the partition (in 512-byte sectors).
28 .TP
29 .I length
30 Specify the length of the partition (in 512-byte sectors).
31
32 .SH SEE ALSO
33 .BR delpart (8),
34 .BR fdisk (8),
35 .BR parted (8),
36 .BR partprobe (8),
37 .BR partx (8)
38 .SH AVAILABILITY
39 The addpart command is part of the util-linux package and is available from
40 ftp://ftp.kernel.org/pub/linux/utils/util-linux/.