Re: Read "File Sharing" status
Re: Read "File Sharing" status
- Subject: Re: Read "File Sharing" status
- From: Kyle Sluder <email@hidden>
- Date: Fri, 25 Jun 2010 10:57:38 -0700
On Fri, Jun 25, 2010 at 6:28 AM, <email@hidden> wrote:
> How to check if "File Sharing" is checked in system preference. When iterated using ps command
> samba daemon will be running even if only "Printer Sharing" is checked. So I would like to know
> If there is any cocoa API/ system configuration API (SC framework) that checks if file sharing is checked.
> mount_smbfs can be used check (for successful mounting), but that requires password for mounting the volume.
Why do you need this information? What are you trying to accomplish?
The way you've phrased it, I can only imagine you're trying to mount
an SMB volume shared by the local machine, which seems
unnecessary—you're already on the local machine, just go through the
filesystem.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden