New topic in Macintosh: 

Disk Volumes

DaveS - Tue Apr 29, 2008 9:37 pm

<http://forums.realsoftware.com/viewtopic.php?t=22127>
                                                                                
                                                                                
I know I can find all the mounted volumes using code like this

Code:
dim i as integer
for i=0 to VolumeCount-1
  msgbox volumes(i).name
next i



HOWEVER.... How can I determine What KIND of volume it is?
For example I have 7 mounted drives
the first 3 are Mac Drives
the 4 and 5 are actually "virtual" drives mounted by Parallels [MacFuse Format]
the 6th is a G-Raid external
the 7th is a TimeCapsule

In Finder ... Drives #1 thru #6 show up under "DEVICES", but TimeCapsule (#7) 
is under "SHARED"

So I want to be able to tell that
1-3 are real INTERNAL disk drives
4-5 are "virtual drives" 
6 is a real EXTERNAL disk drive
7 is a real EXTERNAL disk drive inside of TimeCapsule

Why do I want to know 6 and 7 differently?  They have different icons.   As a 
matter of fact 4 and 5 have a "Parallels" icon on them but that not important 
for what I want to do.                                      
                                                                                
                                                                                
                                                                                
                                                                                
                                        



-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to