TLDR
Enter a command. For example: btrfs filesystem, fossil rm.

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 partitions 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}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.