Abdennour TOUMI Asked: 2014-06-26 12:18:24 +0800 CST2014-06-26 12:18:24 +0800 CST 2014-06-26 12:18:24 +0800 CST name of the file from /proc that is used to pass information from boot-loader to kernel 772 I am revising for LPI exam ,and i cannot know this information which is : the name of the file resides in /proc that is used to pass information from boot-loader to kernel ? kernel 2 Answers Voted Best Answer Florian Diesch 2014-06-26T12:25:57+08:002014-06-26T12:25:57+08:00 Most likely they want /proc/cmdline as an answer Aaron 2014-06-26T12:59:35+08:002014-06-26T12:59:35+08:00 Florian Diesch is correct. You can find information on this on the man page for proc. /proc/cmdline Arguments passed to the Linux kernel at boot time. Often done via a boot manager such as lilo(8) or grub(8). From my 14.04 terminal, I can cat my /proc/cmdline to see the parameters that my kernel was booted with: $ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.13.0-29-generic root=UUID=cabb338a-445e-4ed7-8f37-a78ddf5174b6 ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
Most likely they want
/proc/cmdline
as an answerFlorian Diesch is correct. You can find information on this on the
man
page forproc
.From my 14.04 terminal, I can
cat
my/proc/cmdline
to see the parameters that my kernel was booted with: