mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 00:27:21 +03:00
partx: add page (#5158)
* partx: add page * partx: remove trailing whitespace * partx: fix typo Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
This commit is contained in:
parent
519380ae8f
commit
24e64160b9
16
pages/linux/partx.md
Normal file
16
pages/linux/partx.md
Normal file
@ -0,0 +1,16 @@
|
||||
# partx
|
||||
|
||||
> 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 paritions 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}}`
|
Loading…
Reference in New Issue
Block a user