summaryrefslogtreecommitdiffstats
path: root/disk-utils/addpart.8
diff options
context:
space:
mode:
authorKarel Zak2012-06-26 18:24:16 +0200
committerKarel Zak2012-06-26 20:50:18 +0200
commit957bab4e914ee56721069ee38a38517b658b1ab3 (patch)
tree5bdd0f0aad924ba1ff0715ee391752ef9f0f0bba /disk-utils/addpart.8
parentbuild-sys: convert disk-utils/ to module (diff)
downloadkernel-qcow2-util-linux-957bab4e914ee56721069ee38a38517b658b1ab3.tar.gz
kernel-qcow2-util-linux-957bab4e914ee56721069ee38a38517b658b1ab3.tar.xz
kernel-qcow2-util-linux-957bab4e914ee56721069ee38a38517b658b1ab3.zip
build-sys: move partx to disk-utils/
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/addpart.8')
-rw-r--r--disk-utils/addpart.840
1 files changed, 40 insertions, 0 deletions
diff --git a/disk-utils/addpart.8 b/disk-utils/addpart.8
new file mode 100644
index 000000000..9dcd0a324
--- /dev/null
+++ b/disk-utils/addpart.8
@@ -0,0 +1,40 @@
+.\" 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 "January 2007" "util-linux" "System Administration"
+.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 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 package and is available from
+ftp://ftp.kernel.org/pub/linux/utils/util-linux/.