Mount Points
Mount Points
- Subject: Mount Points
- From: Mark Gilbert <email@hidden>
- Date: Sat, 26 Aug 2006 18:02:44 +0100
Folks.
I am seeing a strange behaviour sometimes when mounting afp network
volumes on an Intel iMac.
Essentially the OS is creating more than one /Volumes representation
for the drive, depending on what steps have occurred, and its
creating a persistent entry in /Volumes which I can't 'unmount'
For example:
I have another Mac sharing its hard disc. This volume is called
"G4_HD". When I try to mount it on the iMac, it ends up being
referred to as G4_HD-1 by Unix (in /Volumes). This is because
there is already a 'persistent' entry in /Volumes called 'G4_HD' from
some earlier life. This persistent entry only contains one of the
directories which belong to the volume.
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
it fails, because although the 'real' G4_HD *IS* mounted on the Mac
desktop, its actually referred to deep down as G4_HD-1, and 'folder'
doesn't exist in the 'phantom' tree that is actually taking up the
volume name G4_HD.
If I unmount G4_HD in the finder, G4_HD-1 goes from /Volumes, but
G4_HD remains...!!!!!
I can see another 'phantom' directory from another computer on the
network which must have once been mounted here (but isnt anymore)
So, I have 2 questions:
1) What is this phantom directory ?
2) How do I solve my problem and avoid this in the field ?
Cheers
Mark.
--
email@hidden
Tel: +44 208 340 5677
fax: +44 870 055 7790
http://www.gallery.co.uk
_______________________________________________
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