Move debugfs, rootfs and procfs documentation to README

This commit is contained in:
Ciro Santilli
2018-06-29 09:55:25 +01:00
parent 0cd1a2b602
commit 9a4eae50c8
11 changed files with 149 additions and 98 deletions

View File

@@ -1,15 +1,4 @@
/*
Yet another fops entrypoint.
https://stackoverflow.com/questions/8516021/proc-create-example-for-kernel-module
insmod /procfs.ko
cat /proc/lkmc_procfs
Output:
abcd
*/
/* https://github.com/cirosantilli/linux-kernel-module-cheat#procfs */
#include <linux/debugfs.h>
#include <linux/module.h>