diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea44c44 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +*.cmd +*.symvers +*.ko +*.mod +*.o +*.order +*.mod.c diff --git a/README.md b/README.md index 4b32f7e..d244eb2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,14 @@ # Linux kernel module -Requires: -`$ kmod kernel-devel kernel-headers` +### Requires: +`$ sudo dnf install kmod kernel-devel kernel-headers` -Build: +### Build: `$ make` + +### Watch dmesg +`sudo dmesg -wT` + +### Insert & remove +`sudo insmod demo_module.ko` +`sudo rmmod demo_module.ko`