]> git.ipfire.org Git - thirdparty/util-linux.git/blame - disk-utils/delpart.8
wipefs: add --lock and LOCK_BLOCK_DEVICE
[thirdparty/util-linux.git] / disk-utils / delpart.8
CommitLineData
4f8d6551 1.\" delpart.8 -- man page for delpart
2f2d6528
KZ
2.\" Copyright 2007 Karel Zak <kzak@redhat.com>
3.\" Copyright 2007 Red Hat, Inc.
4.\" May be distributed under the GNU General Public License
4f8d6551 5.TH DELPART 8 "January 2015" "util-linux" "System Administration"
2f2d6528 6.SH NAME
4f8d6551 7delpart \- tell the kernel to forget about a partition
2f2d6528 8.SH SYNOPSIS
06191c0f
PB
9.B delpart
10.I device partition
2f2d6528
KZ
11.SH DESCRIPTION
12.B delpart
4f8d6551
BS
13asks the Linux kernel to forget about the specified \fIpartition\fR
14(a number) on the specified \fIdevice\fR.
15The command is a simple wrapper around the "del partition" ioctl.
2f2d6528 16
4926bc36 17This command doesn't manipulate partitions on a block device.
2f2d6528 18
2f2d6528
KZ
19.SH SEE ALSO
20.BR addpart (8),
21.BR fdisk (8),
22.BR parted (8),
23.BR partprobe (8),
24.BR partx (8)
86d62711 25.SH AVAILABILITY
601d12fb 26The delpart command is part of the util-linux package and is available from
d673b74e 27https://www.kernel.org/pub/linux/utils/util-linux/.