parted: resizepart

1 
1 2.4.10 resizepart
1 -----------------
1 
1  -- Command: resizepart NUMBER END
1 
1      Moves the END position of partition NUMBER.  Note that this does
1      not modify any filesystem present in the partition.  If you wish to
1      do this, you will need to use external tools, such as 'resize2fs'.
1 
1      When growing a partition you will want to grow the filesystem
1      afterwards, but when shrinking, you need to shrink the filesystem
1      before the partition.
1