On Fri, Jun 25, 2010 at 6:28 AM, <johnlob...@ovi.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com