• 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: Mount Points
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mount Points


  • Subject: Re: Mount Points
  • From: Kevin Elliott <email@hidden>
  • Date: Sat, 26 Aug 2006 22:00:57 -0700

At 21:18 +0100 on 8/26/06, Mark Gilbert wrote:
Hi Michael

Thanks for the explanation about the phantom mount directory. Forcing an rm of the directory has solved the problem on this machine

The problem I have is that I am using
file:///Volumes/Drive/Folder/File style URLs to pass pointers to
files over a network connection.  When I use CFURL to resolve a URL
like:
file:///Volumes/G4_HD/folder/file

As you can see, this is an inherently fragile way to do things. Even without the bug discussed above, I can't recommend this as a way to go.

We need to pass around a file specification via TCP/IP between various different applications working on the same file from different computers. The file spec also has to go through an asset management system which needs to store the location as (unicode) text, then pop out the other side and be picked up again.


What better mechanism would you recommend instead to identify a file which resides on a
shared volume in a workgroup ?.

One more note as to the problem your seeing- the precise problem your describing can easily occur in the wild if the user happens to mount two volumes with the same name. The first volume will get the normal volume, the second will have _# (some 1-x for each additional duplicate volume) appended. If robustness under lots of conditions is important to you, relying on the volume path being the same between machines is a bad idea...
--
______________________________________________________
Arguing with an engineer is like wrestling with a pig in mud.
After a while, you realize the pig is enjoying it.
______________________________________________________
Kevin Elliott <mailto:email@hidden>
AIM/iChatAV: email@hidden (video chat available)
______________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Re: Mount Points (From: Michael Smith <email@hidden>)
 >Re: Mount Points (From: Mark Gilbert <email@hidden>)

  • Prev by Date: Re: Mount Points
  • Next by Date: SQLite optimization
  • Previous by thread: Re: Mount Points
  • Next by thread: SQLite optimization
  • Index(es):
    • Date
    • Thread