From 4f8d6551d6a9de2b4d699e37eff5de589c4e6d05 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 11 Jan 2015 22:27:55 +0100 Subject: docs: sync the docstring of addpart, delpart and resizepart to the man page Also tweak the wording of those man pages a bit. Signed-off-by: Benno Schulenberg --- disk-utils/delpart.8 | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'disk-utils/delpart.8') diff --git a/disk-utils/delpart.8 b/disk-utils/delpart.8 index a81815392..8c17678c6 100644 --- a/disk-utils/delpart.8 +++ b/disk-utils/delpart.8 @@ -1,27 +1,21 @@ -.\" delpart.8 -- +.\" delpart.8 -- man page for delpart .\" Copyright 2007 Karel Zak .\" Copyright 2007 Red Hat, Inc. .\" May be distributed under the GNU General Public License -.TH DELPART 8 "January 2007" "util-linux" "System Administration" +.TH DELPART 8 "January 2015" "util-linux" "System Administration" .SH NAME -delpart \- simple wrapper around the "del partition" ioctl +delpart \- tell the kernel to forget about a partition .SH SYNOPSIS .B delpart .I device partition .SH DESCRIPTION .B delpart -is a program that asks the Linux kernel to remove a partition. +asks the Linux kernel to forget about the specified \fIpartition\fR +(a number) on the specified \fIdevice\fR. +The command is a simple wrapper around the "del partition" ioctl. This command doesn't manipulate partitions on a hard drive. -.SH OPTIONS -.TP -.I device -Specify the disk device. -.TP -.I partition -Specify the partition number. - .SH SEE ALSO .BR addpart (8), .BR fdisk (8), -- cgit v1.2.3-55-g7522