Platforms to show: All Mac Windows Linux Cross-Platform

Back to VolumeInformationMBS class.

VolumeInformationMBS.Blocksize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The size of an allocation block, in bytes.

This field is only appropriate for volume formats (such as HFS and HFS Plus) that allocate space in fixed-size pieces; other volume formats may not have a similar concept, and may set this field to zero.
(Read only property)

VolumeInformationMBS.DataForkClumpSize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Default data fork clump size.

When a fork is automatically grown as it is written, the File Manager attempts to allocate space that is a multiple of the clump size. This field is zero for volume formats that don't support the notion of a clump size.
(Read only property)

VolumeInformationMBS.DefaultVolume as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Is this the default volume?

Not supported if LimitedInformation is false.
(This property requires Mac OS 9 or newer)
(Read only property)

Some examples using this property:

VolumeInformationMBS.DriveNumber as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The drive number for the drive (drive queue element) associated with the volume.

(Read only property)

VolumeInformationMBS.DriverRefNum as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The driver reference number for the drive (drive queue element) associated with the volume.

(Read only property)

VolumeInformationMBS.FileCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The total number of files on the volume, or 0 if unknown.

(Read only property)

VolumeInformationMBS.FilesOpen as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Are there files open on this volume?

For the boot volume false!?
Not supported if LimitedInformation is false.
(This property requires Mac OS 9 or newer)
(Read only property)

Some examples using this property:

VolumeInformationMBS.FileSystemID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Identifies the filesystem implementation that is handling the volume; this is zero for HFS and HFS Plus volumes.

(Read only property)

VolumeInformationMBS.FolderCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The total number of folders on the volume, or 0 if unknown. Note that no root directory counts.

(Read only property)

VolumeInformationMBS.freeBlocks as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The number of unused allocation blocks on the volume.

This field is only appropriate for volume formats (such as HFS and HFS Plus) that allocate space in fixed-size pieces; other volume formats may not have a similar concept, and may set this field to zero.
(Read only property)

Some examples using this property:

VolumeInformationMBS.Freebytes as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The number of bytes of free space on the volume.

On Mac OS versions before 9.0, this returns never a number bigger than 2 GBytes, even if the disc is bigger.
(Read only property)

Some examples using this property:

VolumeInformationMBS.HardwareLocked as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
is the volume locked by hardware?

Not supported if LimitedInformation is false.
(This property requires Mac OS 9 or newer)
(Read only property)

Some examples using this property:

VolumeInformationMBS.LimitedInformation as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
True if some properties are not filled.

Not all values are supported on Mac OS 8.6
(Read only property)

Some examples using this property:

VolumeInformationMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The name of the volume.

The name is returned in 16bit Unicode.
RB 4.5 should know how to handle that.
(Read only property)

VolumeInformationMBS.NextAllocation as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
A hint for where to start searching for free space during an allocation.

This field is only appropriate for volume formats (such as HFS and HFS Plus) that allocate space in fixed-size pieces; other volume formats may not have a similar concept, and may set this field to zero.
(Read only property)

VolumeInformationMBS.NextCatalogID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The next unused catalog node ID.

Some volume formats (such as HFS and HFS Plus) use a monotonically increasing number for the catalog node ID (i.e. File ID or Directory ID) of newly created files and directories. For those volume formats, the nextCatalogID is the next file/directory ID that will be assigned. For other volume formats, this field will be zero.
(Read only property)

VolumeInformationMBS.ResourceForkClumpSize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Default resource fork clump size.

When a fork is automatically grown as it is written, the File Manager attempts to allocate space that is a multiple of the clump size. This field is zero for volume formats that don't support the notion of a clump size.
(Read only property)

VolumeInformationMBS.Root as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
A folderitem to the root of this volume.

Not supported if LimitedInformation is false.
(This property requires Mac OS 9 or newer)
(Read only property)

VolumeInformationMBS.RootFSRef as memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The root folderitem as FSRef packed into a memoryblock.

(Read only property)

VolumeInformationMBS.Signature as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
This field is used to distinguish between volume formats supported by a single filesystem implementation.

Example values:
HFS&h4244"BD"
HFS+&h482B"H+"
(Read only property)

VolumeInformationMBS.SoftwareLocked as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
is the volume locked by software?

Not supported if LimitedInformation is false.
(This property requires Mac OS 9 or newer)
(Read only property)

Some examples using this property:

VolumeInformationMBS.Totalblocks as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The total number of allocation blocks on the volume.

This field is only appropriate for volume formats (such as HFS and HFS Plus) that allocate space in fixed-size pieces; other volume formats may not have a similar concept, and may set this field to zero.
(Read only property)

Some examples using this property:

VolumeInformationMBS.Totalbytes as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The size of the volume in bytes.

On Mac OS versions before 9.0, this returns never a number bigger than 2 GBytes, even if the disc is bigger.
(Read only property)

The items on this page are in the following plugins: MBS MacClassic Plugin.


The biggest plugin in space...