Platforms to show: All Mac Windows Linux Cross-Platform

Back to DADiskMBS class.

DADiskMBS.BSDName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Obtains the BSD device name for the specified disk.
Example
dim session as new DASessionMBS
dim d as DADiskMBS = DADiskMBS.CreateFromVolume(session,volume(0))
MsgBox d.BSDName

DADiskMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The private constructor.

DADiskMBS.Description as dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Obtains the Disk Arbitration description of the specified disk.
Example
dim session as new DASessionMBS
dim d as DADiskMBS = DADiskMBS.CreateFromVolume(session,volume(0))
dim dic as Dictionary = d.Description
MsgBox dic.Value(d.kDADiskDescriptionVolumeNameKey)

This function will contact Disk Arbitration to acquire the latest description of the specified disk, unless this function is called on a disk object passed within the context of an event, in which case the description is current as of that event.
Available in OS X v10.4 and later.

DADiskMBS.Options as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Obtains the options for the specified disk.

DADiskMBS.SetOptions(options as Integer, value as boolean) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sets the options for the specified disk.

options: The options to set or clear.
value: Pass true to set options; otherwise pass false to clear options.
Returns result code.

DADiskMBS.WholeDisk as DADiskMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Obtain the associated whole disk object for the specified disk.

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


The biggest plugin in space...