Linux Commands Examples

A great documentation place for Linux commands

delpart

simple wrapper around the "del partition" ioctl


see also : addpart - fdisk - parted - partprobe - partx

Synopsis

delpart device partition


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
OBJ = bsd.o dos.o partx.o solaris.o unixware.o
all: addpart delpart partx
partx: $(OBJ)
addpart: addpart.o
addpart: addpart.o
delpart: delpart.o
clean:
rm -f $(OBJ) addpart.o delpart.o addpart delpart partx *~
$(OBJ): partx.h

description

delpart is a program that asks the Linux kernel to remove a partition.

This command doesn’t manipulate partitions on hard drive.

options

device

Specify the disk device.

partition

Specify the partition number.

availability

The delpart command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.


see also

addpart , fdisk , parted , partprobe , partx

How can this site be more helpful to YOU ?


give  feedback