]> git.ipfire.org Git - thirdparty/util-linux.git/blame - disk-utils/resizepart.8
wipefs: add --lock and LOCK_BLOCK_DEVICE
[thirdparty/util-linux.git] / disk-utils / resizepart.8
CommitLineData
4f8d6551 1.\" resizepart.8 -- man page for resizepart
8863a802
KZ
2.\" Copyright 2012 Vivek Goyal <vgoyal@redhat.com>
3.\" Copyright 2012 Red Hat, Inc.
4.\" May be distributed under the GNU General Public License
4f8d6551 5.TH RESIZEPART 8 "January 2015" "util-linux" "System Administration"
8863a802 6.SH NAME
4f8d6551 7resizepart \- tell the kernel about the new size of a partition
8863a802
KZ
8.SH SYNOPSIS
9.B resizepart
10.I device partition length
11.SH DESCRIPTION
12.B resizepart
4f8d6551
BS
13tells the Linux kernel about the new size of the specified partition.
14The command is a simple wrapper around the "resize partition" ioctl.
8863a802 15
4926bc36 16This command doesn't manipulate partitions on a block device.
8863a802
KZ
17
18.SH PARAMETERS
19.TP
20.I device
4f8d6551 21The disk device.
8863a802
KZ
22.TP
23.I partition
4f8d6551 24The partition number.
8863a802
KZ
25.TP
26.I length
4f8d6551 27The new length of the partition (in 512-byte sectors).
8863a802
KZ
28
29.SH SEE ALSO
30.BR addpart (8),
31.BR delpart (8),
32.BR fdisk (8),
33.BR parted (8),
34.BR partprobe (8),
35.BR partx (8)
36.SH AVAILABILITY
37The resizepart command is part of the util-linux package and is available from
d673b74e 38https://www.kernel.org/pub/linux/utils/util-linux/.