Re: How to read execute_command?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

>  const char *ReadExecuteCommand(void) { return execute_command; }

Oops, it didn't work since 2.6 kernels until 2.6.13 overwrite
  execute_command = "/init";
if initrd.img contains /init .
So I gave up trying to read execute_command
and I introduced other __setup parameter.

Thank you.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux