TLDR
Enter a command. For example: dos2unix, a2disconf, isosize.

kpartx

 
Create device maps from partition tables. More information: https://manned.org/kpartx.
 
  • Add partition mappings:
     
    kpartx -a {{whole_disk.img}}
     
  • Delete partition mappings:
     
    kpartx -d {{whole_disk.img}}
     
  • List partition mappings:
     
    kpartx -l {{whole_disk.img}}

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.