• 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: Get the list of remote volumes mounted in Mac Machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get the list of remote volumes mounted in Mac Machine


  • Subject: Re: Get the list of remote volumes mounted in Mac Machine
  • From: Mike Miller <email@hidden>
  • Date: Fri, 12 Mar 2004 22:08:06 -0700

Those calls (FSResolveAlias and co.) are for resolving an alias, not for
discovering mounted volumes. I don't know what your arguments are, but it
looks like you're probably missing a valid alias at least part of the time.

There are a number of more direct ways to get at volumes and it kinda
depends on the target environment for your app - take a peek at "files.h" or
consider reading the file manager documentation.

> From: Mahesh Vyas <email@hidden>
> Date: Fri, 12 Mar 2004 16:10:27 +0530
> To: email@hidden
> Cc: Mohd Faiz Ullah <email@hidden>
> Subject: Get the list of remote volumes mounted in Mac Machine
>
> Query one
>
> FSResolveAlias does not return proper fsref for mounted volumes if its a OS
> system volume.
> e.g If I mount a volume named as "Panther" of machine X which is an volume
> where OS is installed the FSResolveAlias() or ResolveAlias() does not return
> a valid fsref or fsspec,
> and FSGetCatInfo() with this fsref returns -35 error(Volume not found).
>
> In case of another volume say "Data1" of Machine X where the running OS is
> not installed these API's works fine and returns proper spec or fsref.
> This is our observation that if we mount a volume where OS is installed we
> face problem and if its a non OS volume (The volume does not have current OS
> installed on it)these API works fine.
>
> Could you please suggest what could be the reason.
>
>
> Query two
>
> How can I get the list of volumes (remote) currently mounted ?
> _______________________________________________
> macnetworkprog mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/macnetworkprog
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


References: 
 >Get the list of remote volumes mounted in Mac Machine (From: Mahesh Vyas <email@hidden>)

  • Prev by Date: URLOpen and local files
  • Next by Date: Calling MPNotifyQueue from OT notifier
  • Previous by thread: Get the list of remote volumes mounted in Mac Machine
  • Next by thread: URLOpen and local files
  • Index(es):
    • Date
    • Thread