HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

delpart — Ask the Linux kernel to forget about a partition. More information: <https://manned.org/delpart>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandaskforgetclilinuxdelpartkernel
linux

Problem

How to use the delpart command: Ask the Linux kernel to forget about a partition. More information: <https://manned.org/delpart>.

Solution

delpart — 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}}

Code Snippets

Tell the kernel to forget about the first partition of `/dev/sda`

sudo delpart {{/dev/sda}} {{1}}

Context

tldr-pages: linux/delpart

Revisions (0)

No revisions yet.