<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSProbeResult",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSProbeResult"
  },
  "title" : "FSProbeResult"
}
-->

# FSProbeResult

An object that represents the results of a specific probe.

```
class FSProbeResult
```

## Overview

For any [`result`](/documentation/FSKit/FSProbeResult/result) value other than [`FSMatchResult.notRecognized`](/documentation/FSKit/FSMatchResult/notRecognized), ensure the [`name`](/documentation/FSKit/FSProbeResult/name) and [`containerID`](/documentation/FSKit/FSProbeResult/containerID) values are non-`nil`.
When a container or volume format doesn’t use a name, return an empty string.
Also use an empty string in the case in which the format supports a name, but the value isn’t set yet.

Some container or volume formats may lack a durable UUID on which to base a container identifier.
This situation is only valid for unary file systems.
In such a case, return a random UUID.

With a block device resource, a probe operation may successfully get a result but encounter an error reading the name or UUID.
If this happens, use whatever information is available, and provide an empty string or random UUID for the name or container ID, respectively.

## Topics

### Working with results

[`recognized(name:containerID:)`](/documentation/FSKit/FSProbeResult/recognized(name:containerID:))

Creates a probe result for a recognized file system.

[`usable(name:containerID:)`](/documentation/FSKit/FSProbeResult/usable(name:containerID:))

Creates a probe result for a recognized and usable file system.

[`usableButLimited(name:containerID:)`](/documentation/FSKit/FSProbeResult/usableButLimited(name:containerID:))

Creates a probe result for a recognized file system that is usable, but with limited capabilities.

[`usableButLimited`](/documentation/FSKit/FSProbeResult/usableButLimited)

A probe result for a recognized file system that is usable, but with limited capabilities.

[`notRecognized`](/documentation/FSKit/FSProbeResult/notRecognized)

A probe result for an unrecognized file system.

### Working with result properties

[`containerID`](/documentation/FSKit/FSProbeResult/containerID)

The container identifier, as found during the probe operation.

[`name`](/documentation/FSKit/FSProbeResult/name)

The resource name, as found during the probe operation.

[`result`](/documentation/FSKit/FSProbeResult/result)

The match result, representing the recognition and usability of a probed resource.

[`FSMatchResult`](/documentation/FSKit/FSMatchResult)

A type that represents the recognition and usability of a probed resource.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)