开发者

Fetching the kernel parameters passed via bootloader (grub)

开发者 https://www.devze.com 2023-03-15 11:50 出处:网络
How can be accessed kernel parameters (pass开发者_开发知识库ed via Grub) in initramfs\'s init script?

How can be accessed kernel parameters (pass开发者_开发知识库ed via Grub) in initramfs's init script? I have idea to introduce some param and use use it init like if(myparam == 0) {} else {}


The data you are looking for could be found in /proc/cmdline

0

精彩评论

暂无评论...
验证码 换一张
取 消