mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Document debugfs directory created automatically
This commit is contained in:
@@ -3,6 +3,8 @@ set -ex
|
|||||||
mkdir -p /debugfs
|
mkdir -p /debugfs
|
||||||
# We also added a fstab entry that mounts this under /sys/kernel/debug autmoatically.
|
# We also added a fstab entry that mounts this under /sys/kernel/debug autmoatically.
|
||||||
# That is the most common place to mount it.
|
# That is the most common place to mount it.
|
||||||
|
# The /sys/kernel/debug directory gets created automatically when debugfs is
|
||||||
|
# compiled into the kernel, but it does not get mounted automatically.
|
||||||
mount -t debugfs none /debugfs
|
mount -t debugfs none /debugfs
|
||||||
insmod /debugfs.ko
|
insmod /debugfs.ko
|
||||||
cd /debugfs/lkmc_debugfs
|
cd /debugfs/lkmc_debugfs
|
||||||
|
|||||||
Reference in New Issue
Block a user