blkram
is a simple RAM-backed block device kernel module based on
Linux 6.1 for educational purposes. A detailed article about this driver can be found here in
my blog.
- Clone the Linux kernel from here
- Compile the Linux kernel
- Clone this repo
- Run the following command in the
blkram
repo:
blkram$ make kdir="/path/to/linux/repo"
To install the module in your running system, simply run the following:
$ insmod ./blkram.ko