[futurebasic] Re: [FB] HFS+

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2001 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Tue, 25 Dec 2001 08:16:21 +1300
>>> I've discovered an .INCL called HFS+ in the Release 5 Files/Volumes
>>> examples, and want to know how to determine if I'm checking a HFS+ volume.
>>> 
>>> Does anyone have code for checking if a volume is HFS or HFS+
>> 
>> 
>> The same code as "HFS+.Incl" seems to be in the Header file "Subs
>> BigVolumes.Incl". That name is more accurate, because you don't actually need
>> HFS+ to use the routines.
>> 
>
>Robert, does that  mean I can just use the routines in the HFS+.INCL
>regardless of which system the code is running on ?
>Or regardless of which HDs are HFS or HFS+
>
>What's the minimum hardware/software to use the routines ?

The routines use PBXGetVolInfoSync, whose availability is:

  Mac OS X:        in version 10.0 and later in CoreServices.framework
  CarbonLib:       in CarbonLib 1.0 and later
  Non-Carbon CFM:  in InterfaceLib 8.5 and later
 
Any system >= 8.5 should be OK

Robert P.