Contents

FSVolume

A directory structure for files and folders.

Declaration

class FSVolume

Overview

A file system, depending on its type, provides one or more volumes to clients. The FSUnaryFileSystem by definition provides only one volume, while an FSFileSystem supports multiple volumes.

You implement a volume for your file system type by subclassing this class, and also conforming to the FSVolume.Operations and FSVolume.PathConfOperations protocols. This protocol defines the minimum set of operations supported by a volume, such as mounting, activating, creating and removing items, and more.

Your volume can provide additional functionality by conforming to other volume operations protocols. These protocols add support for operations like open and close, read and write, extended attribute (Xattr) manipulation, and more.

Topics

Creating a volume

Accessing volume properties

Implementing required operations

Implementing optional operations