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
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
上一篇:是对是错是什么歌呢?
精彩评论