partx
Parse a partition table and tell the kernel about it. More information: <https://man7.org/linux/man-pages/man8/partx.8.html>.
Install
- All systems
-
curl cmd.cat/partx.sh
- Debian
-
apt-get install util-linux - Ubuntu
-
apt-get install util-linux -
Alpine
-
apk add util-linux - Arch Linux
-
pacman -S util-linux - Kali Linux
-
apt-get install util-linux - CentOS
-
yum install util-linux - Fedora
-
dnf install util-linux - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install util-linux - OS X
-
brew install util-linux - Raspbian
-
apt-get install util-linux - Docker
-
docker run cmd.cat/partx partxpowered by Commando
Parse a partition table and tell the kernel about it. More information: <https://man7.org/linux/man-pages/man8/partx.8.html>.
-
List the partitions on a block device or disk image:
sudo partx --list path/to/device_or_disk_image -
Add all the partitions found in a given block device to the kernel:
sudo partx --add --verbose path/to/device_or_disk_image -
Delete all the partitions found from the kernel (does not alter partitions on disk):
sudo partx --delete path/to/device_or_disk_image
© tl;dr; authors and contributors