Network mounted DVDs - getting more information.
Network mounted DVDs - getting more information.
- Subject: Network mounted DVDs - getting more information.
- From: P Teeson <email@hidden>
- Date: Tue, 26 Apr 2011 11:09:27 -0400
Environment: Mac Pro "Nehelam" Mac OS X 10.6.6 Xcode 3.2.4
Refernce book: Mac OS X Internals (Singh)
Problem: Getting information for a network mounted disk.
I have asked this in CocoaDev but not yet got the info I would like.
(0) Using IOKit and appropriate filters I am able to get properties
of optical drives attached to my local computer.
e.g.whole, size, preferred block size etc
However I am stumped when it comes to network mounted devices.
(1) For example typing "mount" in a terminal window lists a DVD as an afpfs.
But this is talking about the file system.
I want to filter network mounts based on other properties.
Yes I know about iterating through /Volumes/.
So my lack of understanding is this:
(a) My understanding is that "attach" and "mount" are two different operations.
Devices are attached and filesystems are mounted.
(b) When I use "Finder/Go/Connect to server..." to mount a share (via afp)
from my wife's Mac over our LAN (a DVD for example) what C/C++/Obj-C
code will let me get the same sort of properties as though it was attached locally?
(c) Is a network mounted share treated as a virtual disk?
(i) if so how can I get it's properties?
(ii) If not why does the icon appear as a disk?
(iii) Filtering IOKit for "Network" or "Disk Image" doesn't do it.
Please be so kind as to advise me which material to read or on which list to ask.
TIA for your thoughts
respect...
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden