Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Module for Linux kernel, that create virtual block device on top of some block device to keep statistics

License

Notifications You must be signed in to change notification settings

nesterovmaxim31/dmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Device Mapper Proxy

Module for Linux kernel, that create virtual block device on top of some block device to keep statistics.

Build and Setup

Ensure you have gcc, make, linux-headers, dmsetup package installed.

$ make -j8
$ sudo insmod dmp.ko

Test

$ sudo dmsetup create zero1 --table "0 4096 zero"
$ sudo dmsetup create dmp1 --table "0 4096 dmp /dev/mapper/zero1"
$ sudo dd if=/dev/random of=/dev/mapper/dmp1 bs=4k count=1
$ sudo dd of=/dev/null if=/dev/mapper/dmp1 bs=4k count=1

Clean

$ make clean

About

Module for Linux kernel, that create virtual block device on top of some block device to keep statistics

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published