diff options
author | Phillip Susi | 2012-12-14 20:57:25 +0100 |
---|---|---|
committer | Karel Zak | 2012-12-19 10:48:12 +0100 |
commit | 3b905b794e93609af7e42459d32b27e7c18ce02e (patch) | |
tree | a62b4c1bcc42166aba12c2c20abe1630bb70b2e8 /disk-utils/partx.8 | |
parent | sulogin: map NL to CR-NL on output in initial termios settings (diff) | |
download | kernel-qcow2-util-linux-3b905b794e93609af7e42459d32b27e7c18ce02e.tar.gz kernel-qcow2-util-linux-3b905b794e93609af7e42459d32b27e7c18ce02e.tar.xz kernel-qcow2-util-linux-3b905b794e93609af7e42459d32b27e7c18ce02e.zip |
partx: add update command
Update the kernel partition table to match what is on disk. Remove any
extra partitions and add any missing ones.
Signed-off-by: Phillip Susi <psusi@ubuntu.com>
Diffstat (limited to 'disk-utils/partx.8')
-rw-r--r-- | disk-utils/partx.8 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/disk-utils/partx.8 b/disk-utils/partx.8 index 6142bd09f..d5de3d938 100644 --- a/disk-utils/partx.8 +++ b/disk-utils/partx.8 @@ -8,9 +8,9 @@ partx \- tell the Linux kernel about the presence and numbering of on-disk partitions .SH SYNOPSIS -partx [\-a|\-d|\-s] [\-t TYPE] [\-n M:N] [\-] disk +partx [\-a|\-d|\-s|\-u] [\-t TYPE] [\-n M:N] [\-] disk .br -partx [\-a|\-d|\-s] [\-t TYPE] partition [disk] +partx [\-a|\-d|\-s|\-u] [\-t TYPE] partition [disk] .SH DESCRIPTION Given a device or disk-image, .B partx @@ -43,6 +43,8 @@ Add the specified partitions, or read the disk and add all partitions. Print the SIZE column in bytes rather than in human-readable format. .IP "\fB\-d\fR, \fB\-\-delete\fP" Delete the specified partitions or all partitions. +.IP "\fB\-u\fR, \fB\-\-update\fP" +Update the specified partitions. .IP "\fB\-g\fR, \fB\-\-noheadings\fP" Do not print a header line. .IP "\fB\-h\fR, \fB\-\-help\fP" |