delpart - tell the kernel to forget about a partition
| Use Case | Command | Description |
|---|---|---|
| Remove partition from kernel memory | delpart /dev/sda 3 | Tells the kernel to forget partition number 3 on /dev/sda |
| Remove partition from another disk | delpart /dev/sdb 1 | Forgets the first partition on /dev/sdb |
delpart device partition
delpart asks the Linux kernel to forget about the specified partition (a number) on the specified device. The command is a simple wrapper around the "del partition" ioctl.
This command doesn't manipulate partitions on a block device.
For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.
The delpart command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
Generated by phpman v4.9.22-1-g1b0fcb4 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-05 06:01 @216.73.216.52
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format