cirosantilli / linux-kernel-module-cheat

The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
https://cirosantilli.com/linux-kernel-module-cheat
GNU General Public License v3.0
4.2k stars 605 forks source link

Misinterpretation of dashes used as separators for init arguments #226

Open iwereth opened 2 years ago

iwereth commented 2 years ago

I was going through the guides since I am quite a newbie to whole Linux ecosystem (thank you so much!) and I found that there is a misinterpretation of dash separators for kernel boot parameters, which was probably caused by the formatting bug the official kernel documentation had torvalds/linux@62ee81b5681daa781f5e800346ae8654b3e5a864

I tried to make some fixes to the README.adoc to the main page. Moreover, some of the section of guide may have the content rendered as incorrectly making some conclusion about how parameters are parsed, for example the one where you mention about how a.b was parsed

cirosantilli commented 2 years ago

Oh, God, I remember being so confused by this... thanks :-) Unfortunately it will also need a few more fixes in other parts of LKMC as I relied on this buggy behavior in some other places too, I'll try to make a more complete fix later, some points:

hitoriCai commented 10 months ago

哎 一看就是sb台独