Passing Linux boot opts to Init
I would like to pass some parameters to a customized Linux init via the boot options configured in the bootloader at boot. I've written test init's in both Python and C. The Python version is able to see anything in the kernel boot options that doesn't have a '=' or '.' in it. The values are found in sys.argv. However, the C program doesn't seem to get passed the values. I would have thought the sys.argv list in Python was generated by parsing the **argv array. Below are the test scripts and screen shots that will hopefully help clarify. the kernel boot line is: kernel /grub/linux-2.6.38.4