1.

Solve : Where can I find source file of shutdown??

Answer»

I setup a DEVELOPMENT environment of LTIB, which can build a COMPLETE Linux system, uImage. Now, my QUESTION is where I can find the source code of shutdown. My customer wants it.
The target and development environment are both Ubuntu.You could Google 'shutdown source Linux' which will take you to pages like this...

http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/base/power/shutdown.c?v=2.6.11.8

Or you could do some lateral THINKING and ask on a Linux specific forum, like this one:

http://ubuntuforums.org/showthread.php?t=721850




Thanks. But I might not say it very clearly. Your answer didn't fit my problem. I got Freescale's Ubuntu base source codes and patches from my customer. In initial versions, there is a bug from shutdown command. That's, "shutdown -r" or "shutdown -h" didn't work. In later versions, it works. Now, I would like to find the patches about this bug.

I setup an LTIB environment which can build uImage from the source base and patches. I think in LTIB environment, I must be able to find shutdown.c and related codes which FIXED the bug. But I failed to find them.

What's the problem? Where can I find those source files in LTIB environment? Thanks.



Discussion

No Comment Found