Figured it out...I thought that just by placing a plist into /Library/
LaunchDaemons would cause it to run when loaded.  A little reading and
I found RunAtLoad was exactly what I needed.

Thanks for all the help!

On Jan 7, 10:13 pm, Ben <[EMAIL PROTECTED]> wrote:
> How can I insure that it is run as root using launchd?  I copied the
> included plist file directly into /Library/LaunchDaemons/, I didn't
> modify a thing.
>
> On Jan 7, 5:14 pm, Amit Singh <[EMAIL PROTECTED]> wrote:
>
> > procfs needs to run as root since it retrieves system-wide information
> > about processes and other resources.
>
> > On Jan 7, 12:34 pm, Ben <[EMAIL PROTECTED]> wrote:
>
> > > The only error in my logs is that the UserName key was ignored....
>
> > > On Jan 7, 2:39 pm, Ben <[EMAIL PROTECTED]> wrote:
>
> > > > Yes I'm on Leopard.  Sorry, I'm new with Macs and not well versed in
> > > > launchd.  Runnion with -f works great and now I'm trying to get it
> > > > working via launchd.  I've copied procfs.plist into /Library/
> > > > LaunchDaemons and made sure that the procfs binary is in /usr/local/
> > > > bin and /proc exists and is owned by root.  I tried doing launchctl
> > > > load procfs.plist and rebooting but neither seems to do anything.  I
> > > > don't get any error.
>
> > > > Any tips?  I'm sure it's something stupid.
>
> > > > On Jan 7, 12:11 pm, Amit Singh <[EMAIL PROTECTED]> wrote:
>
> > > > > Are you on Leopard?
>
> > > > > If so, you need to run procfs as a non-daemon--either foregrounded
> > > > > (use the "-f" command-line option), or run it through launchd (the
> > > > > source tree has a procfs.plist launchd configuration file). If you
> > > > > don't do this and run it backgrounded, procfs /will/ crash on Leopard,
> > > > > sooner or later, because certain things it uses aren't usable by
> > > > > "daemons". The README file in the source tree tells you to run it
> > > > > foregrounded on Leopard.
>
> > > > > Amit
>
> > > > > On Jan 7, 4:34 am, Ben <[EMAIL PROTECTED]> wrote:
>
> > > > > > Looks like I can't ls /proc/byname either
>
> > > > > > On Jan 7, 7:34 am, Ben <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Oh, and after this, the procfs process is killed.
>
> > > > > > > On Jan 7, 7:32 am, Ben <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > I'm trying to use procfs to access my Macbook's camera.  I 
> > > > > > > > installed
> > > > > > > > MacFuse and then procfs (from the precompiled binary because I 
> > > > > > > > had
> > > > > > > > trouble getting it to compile).  I can successfully mount it on 
> > > > > > > > /proc,
> > > > > > > > can cat /proc/system/hardware/cpus/0/data but when I try to 
> > > > > > > > access
> > > > > > > > (cp, open, anything) I get an "Input/output error".  Any tips?
>
> > > > > > > > Do I need to compile the pcre libraries (I did already)?- Hide 
> > > > > > > > quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to