• 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: Host name of remote volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Host name of remote volume


  • Subject: Re: Host name of remote volume
  • From: Marc Krochmal <email@hidden>
  • Date: Wed, 13 Jul 2005 10:37:29 -0700

Hi Lorenzo,

On Jul 13, 2005, at 8:15 AM, Lorenzo wrote:

Hi,
I pose my previous question in a better way:
I have mounted a remote volume on my local desktop. How to get the info in
order to mount it later with the unix command "mount" (or mount_afp, ...)?


I would like to get a string like
    afp://PowerBook.local/VolumeName
or
    smb://whats@dell/VolumeName
or
    http://idisk.mac.com/username/

I have been using in the past statfs(cPath, &buf); and GetAliasInfo
but now they don't work longer in the same old way in case of afp volumes or
webdav volumes.

Have a look at FSCopyURLForVolume() in Files.h

Best Regards,

-Marc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Host name of remote volume (From: Lorenzo <email@hidden>)

  • Prev by Date: unique properties using Core Data
  • Next by Date: Relationship on parent not observed properly for subentity (was: Abstract entities and relationships)
  • Previous by thread: Host name of remote volume
  • Next by thread: splitter and views resize problems
  • Index(es):
    • Date
    • Thread