the killall Finder command quits and restarts the Finder but the restart is not a feature of killall. What is responsible for this restart? My guess is that the Finder application is watched by launchd but therefor it should be an KeepAlive=Yes or at least an OnDemand=No Flag configured in Finders plist. But I find neither a KeepAlive Flag nor an OnDemand Flag.
I found an Apple developer article called [The Boot Process|http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/ BPSystemStartup/Articles/BootProcess.html], which includes the following:
-------------------------------
.
As the final part of system initialization,
launchd launches
loginwindow. The
loginwindow program controls several aspects of user sessions and coordinates the display of the login window and the authentication of users.
.
.
Immediately after the user is successfully authenticated,
loginwindow sets up the user environment and records information about the login. As part of this process, it performs the following tasks:
.
It launches the Dock, Finder, and SystemUIServer.
.
.
If the Finder, Dock, or SystemUIServer processes die for some reason,
loginwindow automatically restarts them. In the same manner, if the
loginwindow process dies, the
launchd process automatically restarts it.
---------------------
You might ask about further details in one of the Mac OS X Technologies forums.
I found an Apple developer article called [The Boot Process|http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/ BPSystemStartup/Articles/BootProcess.html], which includes the following:
-------------------------------
.
As the final part of system initialization,
launchd launches
loginwindow. The
loginwindow program controls several aspects of user sessions and coordinates the display of the login window and the authentication of users.
.
.
Immediately after the user is successfully authenticated,
loginwindow sets up the user environment and records information about the login. As part of this process, it performs the following tasks:
.
It launches the Dock, Finder, and SystemUIServer.
.
.
If the Finder, Dock, or SystemUIServer processes die for some reason,
loginwindow automatically restarts them. In the same manner, if the
loginwindow process dies, the
launchd process automatically restarts it.
---------------------
You might ask about further details in one of the Mac OS X Technologies forums.
thanks I think the question is answered in the last part of what you quoted. It make sense and this could be an explanation why I found nothing about launchd's KeepAlive mechanism in the preferences files regarding to the Finder.app.
Also thanks for this pretty interesting link about the boot process.