FileSystem:getByMountPoint
Method
Purpose
This method (on Mac OS X) returns utilization statistics for currently mounted file systems filtered by the mount directory. Information will be listed for only local partitions with non-zero data blocks.
Remarks
The argument is being treated as a pattern to match. If no argument is given, the entire mount table is reported.
Type
Synchronous, IMPACT_INFO.
Arguments
Name |
Type |
Description |
Mount Point |
String |
Name of the directory where the file system is mounted. |
Returns
Name |
Type |
Description |
Mount Point |
String |
Mount point. Table is indexed by Mount Point. |
Partition |
String |
Device name of a hard disk partition |
% Free |
Integer |
The amount of disk space on the mounted file system that is currently free, expressed as a percentage of total size |
% Used |
Integer |
The amount of disk space on the mounted file system that is currently in use, expressed as a percentage of total size |
KBytes Free |
Long |
The amount of disk space on the mounted file system that is currently free, expressed as an absolute value in kilobytes |
KBytes Used |
Long |
The amount of disk space on the mounted file system that is currently in use, expressed as an absolute value in kilobytes |
KBytes Total |
Long |
The amount of disk space on the mounted file system, expressed in kilobytes |
% Minimum |
Integer |
The minimum % free (for super user only) |