delpart
Ask the Linux kernel to forget about a partition. More information: <https://manned.org/delpart>.
Install
- All systems
-
curl cmd.cat/delpart.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 update
sudo apt-get install util-linux
- OS X
-
brew install util-linux
- Raspbian
-
apt-get install util-linux
- Dockerfile
- dockerfile.run/delpart
- Docker
-
docker run cmd.cat/delpart delpart
powered by Commando
Ask the Linux kernel to forget about a partition. More information: <https://manned.org/delpart>.
-
Tell the kernel to forget about the first partition of `/dev/sda`:
sudo delpart /dev/sda 1
© tl;dr; authors and contributors