mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
readme: link to new procfs SE answer
This commit is contained in:
@ -6308,7 +6308,10 @@ Sources:
|
||||
* link:kernel_modules/procfs.c[]
|
||||
* link:rootfs_overlay/lkmc/procfs.sh[]
|
||||
|
||||
Bibliography: https://stackoverflow.com/questions/8516021/proc-create-example-for-kernel-module/18924359#18924359
|
||||
Bibliography:
|
||||
|
||||
* https://superuser.com/questions/619955/how-does-proc-work/1442571#1442571
|
||||
* https://stackoverflow.com/questions/8516021/proc-create-example-for-kernel-module/18924359#18924359
|
||||
|
||||
===== /proc/version
|
||||
|
||||
@ -6352,8 +6355,9 @@ Sources:
|
||||
|
||||
Vs procfs:
|
||||
|
||||
* https://unix.stackexchange.com/questions/4884/what-is-the-difference-between-procfs-and-sysfs
|
||||
* https://unix.stackexchange.com/questions/4884/what-is-the-difference-between-procfs-and-sysfs/382315#382315
|
||||
* https://stackoverflow.com/questions/37237835/how-to-attach-file-operations-to-sysfs-attribute-in-platform-driver
|
||||
* https://serverfault.com/questions/65261/linux-proc-sys-kernel-vs-sys-kernel
|
||||
|
||||
You basically can only do `open`, `close`, `read`, `write`, and `lseek` on sysfs files.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user