• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Read "File Sharing" status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Read "File Sharing" status (From: email@hidden)

  • Prev by Date: Re: iOS4: UDP sockets in the background
  • Next by Date: Smooth OpenGL animation possible, even if main thread blocks?
  • Previous by thread: Read "File Sharing" status
  • Next by thread: Re: Read "File Sharing" status
  • Index(es):
    • Date
    • Thread