ADDPART Linux Command

What is Linux addpart Command?


addpart COMMAND:

The ADDPART command is a program which informs the Linux Kernel of a newly formed partition. This command doesn't manipulate with partitions on hard drive, instead it tells the Linux kernel about the existence of the specified partition. This command instructs the kernel to add this newly formed partition to its memory so that the kernel makes note of the new partition along with the existing partitions. In other words the ADDPART command is a wrapper around the "add partition" ioctl. The addpart command is part of the util-linux-ng package.


addpart device partition start length


device The disk device.
partition The partition number.
start The beginning of the partition (in 512-byte sectors).
length The length of the partition (in 512-byte sectors).

Ask Questions

Ask Question