]>
Commit | Line | Data |
---|---|---|
4f8d6551 | 1 | .\" addpart.8 -- man page for addpart |
2f2d6528 KZ |
2 | .\" Copyright 2007 Karel Zak <kzak@redhat.com> |
3 | .\" Copyright 2007 Red Hat, Inc. | |
4 | .\" May be distributed under the GNU General Public License | |
4f8d6551 | 5 | .TH ADDPART 8 "January 2015" "util-linux" "System Administration" |
2f2d6528 | 6 | .SH NAME |
4f8d6551 | 7 | addpart \- tell the kernel about the existence of a partition |
2f2d6528 | 8 | .SH SYNOPSIS |
50a468cf PB |
9 | .B addpart |
10 | .I device partition start length | |
2f2d6528 KZ |
11 | .SH DESCRIPTION |
12 | .B addpart | |
4f8d6551 BS |
13 | tells the Linux kernel about the existence of the specified partition. |
14 | The command is a simple wrapper around the "add partition" ioctl. | |
2f2d6528 | 15 | |
4926bc36 | 16 | This command doesn't manipulate partitions on a block device. |
2f2d6528 KZ |
17 | |
18 | .SH PARAMETERS | |
19 | .TP | |
50a468cf | 20 | .I device |
4f8d6551 | 21 | The disk device. |
2f2d6528 | 22 | .TP |
50a468cf | 23 | .I partition |
4f8d6551 | 24 | The partition number. |
2f2d6528 | 25 | .TP |
50a468cf | 26 | .I start |
4f8d6551 | 27 | The beginning of the partition (in 512-byte sectors). |
2f2d6528 | 28 | .TP |
50a468cf | 29 | .I length |
4f8d6551 | 30 | The length of the partition (in 512-byte sectors). |
2f2d6528 KZ |
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) | |
86d62711 | 38 | .SH AVAILABILITY |
601d12fb | 39 | The addpart command is part of the util-linux package and is available from |
d673b74e | 40 | https://www.kernel.org/pub/linux/utils/util-linux/. |