Re: Example of launchd based application?
Re: Example of launchd based application?
- Subject: Re: Example of launchd based application?
- From: Andre-John Mas <email@hidden>
- Date: Sun, 13 Apr 2008 14:12:25 -0400
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:
kextload /Library/Extensions/tap.kext
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
/System/Library/LaunchDaemons
to see if anything was loading a kext. The only I could see was:
com.apple.smbfs_load_kext.plist
This makes reference to a key "MachServices" which does not seem to be
documented in the lauchd.plist file. Additionally it makes reference to:
/System/Library/Extensions/smbfs.kext/Contents/Resources/load_smbfs
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.
Andre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden