From 3b905b794e93609af7e42459d32b27e7c18ce02e Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Fri, 14 Dec 2012 14:57:25 -0500 Subject: 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 --- disk-utils/partx.8 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'disk-utils/partx.8') 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" -- cgit v1.2.3-55-g7522