lkl / linux

Linux kernel source tree

Home Page:https://lkl.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build and run file system with LKL

sihangliu opened this issue · comments

I am a beginner to LKL. I would like to compile and run a file system in userspace so that I would not need root privilege. Could anyone give me some pointers to get started with?

The file system I am trying to use supports kernel version 4.15. So I first checkout to the commit that merges with 4.15 (0109747) and then build both the LKL tools (tools/lkl) and source (make menuconfig, then make). I am wondering how I can build the source code of this kernel module with LKL and run it? Do I need to modify the Makefile of this file system and change the kernel source to the LKL version in order to build it (I found doing so would incur a few compilation errros)? Is the existing lklfuse a good example to start with? Thanks!

I would like to know the answer to this as well.