~ubuntu-branches/ubuntu/trusty/cloud-utils/trusty-updates

« back to all changes in this revision

Viewing changes to .pc/sync-to-trunk.patch/man/growpart.1

  • Committer: Package Import Robot
  • Author(s): Scott Moser
  • Date: 2013-03-27 09:40:20 UTC
  • mfrom: (70.1.6)
  • Revision ID: package-import@ubuntu.com-20130327094020-gjcis8rb6pazpt72
Tags: 0.27-0ubuntu1
* New upstream release.
  * package upstream release.
  * growpart: essential fix in variable quoting

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH growpart 1 "25 Feb 2011" cloud\-utils "cloud\-utils"
2
 
.SH NAME
3
 
growpart \- extend a partition in a partition table to fill available space
4
 
 
5
 
.SH SYNOPSIS
6
 
.BI "growpart [OPTIONS] DISK PARTITION\-NUMBER"
7
 
 
8
 
growpart partition
9
 
   rewrite partition table so that partition takes up all the space it can
10
 
   options:
11
 
    -h | --help      print Usage an exit
12
 
         --fudge F   if part could be resized, but change would be
13
 
                     less than 'F', do not resize (default: 20480)
14
 
    -N | --dry-run   only report what would be done, show new 'sfdisk -d'
15
 
    -v | --verbose   increase verbosity / debug
16
 
 
17
 
.SH OPTIONS
18
 
.TP
19
 
.B -h | --help
20
 
Show usage and exit
21
 
.TP
22
 
.B -N | --dry-run
23
 
Only report what would be done
24
 
.TP
25
 
.B      --fudge COUNT
26
 
Only modify partition table if the given partition would grow more than COUNT sectors (512 bytes).  The default value is 20480 indicating that no change will be made unless more than 10M of space would be gained.
27
 
.TP
28
 
.B -v | --verbose
29
 
Give more information to stderr.
30
 
.TP
31
 
.B -r | --ramdisk r
32
 
Use previously registered ramdisk with id 'r' specify 'none' for no ramdisk
33
 
 
34
 
.SH ARGUMENTS
35
 
.TP
36
 
.B DISK
37
 
The device or disk image to operate on
38
 
.TP
39
 
.B PARTITION\-NUMBER
40
 
The number of the partition to resize (counting from 1)
41
 
 
42
 
.SH DESCRIPTION
43
 
Rewrite a the partition table in a disk or disk image so that the given partition takes up as much space as it can.  After running, the partition will end at the end of the disk, or at the beginning of the next partition.
44
 
 
45
 
.SH EXAMPLES
46
 
.TP
47
 
Extend partition 1 in /dev/sda to fill empty space until end of disk or next partitiong
48
 
   growpart /dev/sda 1
49
 
.TP
50
 
Extend partition 2 in disk image my.image.
51
 
   growpart my.image 2
52
 
 
53
 
.SH AUTHOR
54
 
This manpage was written by Scott Moser <smoser@canonical.com> for Ubuntu systems (but may be used by others).  Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.
55
 
 
56
 
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.