Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

addpart(8) [debian man page]

ADDPART(8)						       System Administration							ADDPART(8)

NAME
addpart - simple wrapper around the "add partition" ioctl SYNOPSIS
addpart device partition start length DESCRIPTION
addpart is a program that informs the Linux kernel of new partition. This command doesn't manipulate partitions on hard drive. PARAMETERS
device Specify the disk device. partition Specify the partition number. start Specify the begin of the partition (in 512-byte sectors). length Specify the length of the partition (in 512-byte sectors). SEE ALSO
delpart(8), fdisk(8), parted(8), partprobe(8), partx(8) AVAILABILITY
The addpart command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux January 2007 ADDPART(8)

Check Out this Related Man Page

PARTX(8)						      System Manager's Manual							  PARTX(8)

NAME
partx - telling the kernel about presence and numbering of on-disk partitions. SYNOPSIS
partx [-a|-d|-l] [--type TYPE] [--nr M-N] [partition] disk DESCRIPTION
Given a block device ( disk ) and a partition table type , try to parse the partition table, and list the contents. Optionally add or remove partitions. This is not an fdisk - adding and removing partitions is not a change of the disk, but just telling the kernel about presence and numbering of on-disk partitions. OPTIONS
-a add specified partitions or read disk and add all partitions -d delete specified or all partitions -l list partitions. Note that the all numbers are in 512-byte sectors. --type TYPE Specify the partition type -- dos, bsd, solaris, unixware or gpt. --nr M-N Specify the range of partitions (e.g --nr 2-4). SEE ALSO
addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8) AVAILABILITY
The partx command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. 11 Jan 2007 PARTX(8)
Man Page