Re: Example of launchd based application?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com kextload /Library/Extensions/tap.kext /System/Library/LaunchDaemons to see if anything was loading a kext. The only I could see was: com.apple.smbfs_load_kext.plist /System/Library/Extensions/smbfs.kext/Contents/Resources/load_smbfs Andre _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... The program is aiccu, which is a network tunnel for IPv6. Its depends on the kernel extension tun/tap being loaded. Looking at the tun and tap StartUpItems I see they are both loading the relevant extensions. In the tun file: Aiccu and tun/tap are both open source solutions, so if I need to tweak the code this is possible. The SampleD example is certainly useful on the aiccu side, so I will look into this. On the tun/tap side I am not sure how I would deal with this, since there isn't really a daemon to speak of once the kext is loaded. I took a look in This makes reference to a key "MachServices" which does not seem to be documented in the lauchd.plist file. Additionally it makes reference to: Even though I have Samba running on my machine, I don't see load_smbfs in my running processes, so this would seem to indicate that it is hanging around once it does its stuff. Can anyone suggest what launchd compliant approach should be used for launching the kext. Eventually, given the nature of tun/tap I will into making it an on demand load. I will investigate the source for smb on the Mac, though if anyone has any answers I would very much appreciate it. This email sent to site_archiver@lists.apple.com
participants (1)
-
Andre-John Mas