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

# FSStatFSResult

A type used to report a volume’s statistics.

```
class FSStatFSResult
```

## Overview

The names of this type’s properties match those in the `statfs` structure in `statfs(2)`, which reports these values for an FSKit file system.
All numeric properties default to `0`.
Override these values, unless a given property has no meaningful value to provide.

> Note: Available space, free space, total space, and used space have properties to express their values either as a number of blocks or a number of bytes.
> Your module may supply both of these values by setting both the relevant block or byte property.
> Alternatively, a module may set only one of the two properties.
> When you do this, FSKit calculates the matching value based on ``doc://FSKit/documentation/FSKit/FSStatFSResult/blockSize``.

For the read-only [`fileSystemTypeName`](/documentation/FSKit/FSStatFSResult/fileSystemTypeName), set this value with the designated initializer.

---

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)