Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lightweight device-mapper utils

  • List device, output <device name> = <block device>
> dm-utils ls
dev0=dm-0
dev1=dm-1
  • Delete device
> dm-utils del -h
Device-mapper utils.

 [-h] del -d <string>
  del                            Delete device
  -d, --dev=<device>             Device name
  -h, --help                     Print this help and exit

> dm-utils del -d dev0
> dm-utils crypt -h
Device-mapper utils.

 [-h] crypt -d <device> -c <cipher> -k <key>> -b <device path> [-o <opt_params>]...
  crypt                          Create crypt device
  -d, --dev=<device>             Device name
  -c, --cipher=<cipher>          Encryption cipher
  -k, --key=<key>>               Encryption key
  -b, --blockdev=<device path>   Block device path
  -o, --opt=<opt_params>         Optional parameter
  -h, --help                     Print this help and exit

> dm-utils crypt -d dev1 -c aes-cbc-essiv:sha256 -k babebabebabebabebabebabebabebabe -b /dev/loop0 -o same_cpu_crypt -o sector_size:4096

About

Lightweight device-mapper utils

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages