NAME

resizepart – simple wrapper around the "resize partition" ioctl  

SYNOPSIS

resizepart device partition length  

DESCRIPTION

resizepart is a program that informs the Linux kernel of new partition size.

This command doesn’t manipulate partitions on hard drive.

 

PARAMETERS

device
Specify the disk device.
partition
Specify the partition number.
length
Specify the length of the partition (in 512-byte sectors).

 

AVAILABILITY

The resizepart command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.