---
title: FSStatFSResult
framework: fskit
role: symbol
role_heading: Class
path: fskit/fsstatfsresult
---

# FSStatFSResult

A type used to report a volume’s statistics.

## Declaration

```swift
class FSStatFSResult
```

## Overview

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 blockSize. For the read-only fileSystemTypeName, set this value with the designated initializer.

## Topics

### Initializers

- [init(coder:)](fskit/fsstatfsresult/init(coder:).md)
- [init(fileSystemTypeName:)](fskit/fsstatfsresult/init(filesystemtypename:).md)

### Instance Properties

- [availableBlocks](fskit/fsstatfsresult/availableblocks.md)
- [availableBytes](fskit/fsstatfsresult/availablebytes.md)
- [blockSize](fskit/fsstatfsresult/blocksize.md)
- [fileSystemSubType](fskit/fsstatfsresult/filesystemsubtype.md)
- [fileSystemTypeName](fskit/fsstatfsresult/filesystemtypename.md)
- [freeBlocks](fskit/fsstatfsresult/freeblocks.md)
- [freeBytes](fskit/fsstatfsresult/freebytes.md)
- [freeFiles](fskit/fsstatfsresult/freefiles.md)
- [ioSize](fskit/fsstatfsresult/iosize.md)
- [totalBlocks](fskit/fsstatfsresult/totalblocks.md)
- [totalBytes](fskit/fsstatfsresult/totalbytes.md)
- [totalFiles](fskit/fsstatfsresult/totalfiles.md)
- [usedBlocks](fskit/fsstatfsresult/usedblocks.md)
- [usedBytes](fskit/fsstatfsresult/usedbytes.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Inspecting required volume properties

- [supportedVolumeCapabilities](fskit/fsvolume/handler/supportedvolumecapabilities.md)
- [FSVolume.SupportedCapabilities](fskit/fsvolume/supportedcapabilities.md)
- [volumeStatistics](fskit/fsvolume/handler/volumestatistics.md)
