addpart

Tell the Linux kernel about the existence of the specified partition. A simple wrapper around the add partition ioctl. More information: <https://manned.org/addpart>.

Install

All systems
curl cmd.cat/addpart.sh
Debian Debian
apt-get install util-linux
Ubuntu
apt-get install util-linux
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install util-linux
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install util-linux
OS X
brew install util-linux
Raspbian
apt-get install util-linux
Docker
docker run cmd.cat/addpart addpart powered by Commando

Tell the Linux kernel about the existence of the specified partition. A simple wrapper around the add partition ioctl. More information: <https://manned.org/addpart>.

  • Tell the kernel about the existence of the specified partition:
    addpart device partition start length

© tl;dr; authors and contributors