Forrest logo
back to context overview

partx

List of commands for partx:

  • partx:tldr:91ec3 partx: Delete all the partitions found from the kernel (does not alter partitions on disk).
    $ sudo partx --delete ${path-to-device_or_disk_image}
    try on your machine
    explain this command
  • partx:tldr:b8d9d partx: Add all the partitions found in a given block device to the kernel.
    $ sudo partx --add --verbose ${path-to-device_or_disk_image}
    try on your machine
    explain this command
  • partx:tldr:f41e2 partx: List the partitions on a block device or disk image.
    $ sudo partx --list ${path-to-device_or_disk_image}
    try on your machine
    explain this command
back to context overview