apfs::volume¶
-
class volume¶
Represents a volume within an APFS container.
A single APFS partition may contain multiple volumes, each with its own filesystem hierarchy. macOS, for example, mounts and presents these volumes separately.
To obtain a volume, use partition.
Public Functions¶
-
directory_entry root() const¶
Return a directory_entry that points to the root of the filesystem.
Navigate to a given directory relative to the root of the filesystem.
Equivalent to root().resolve(path).
Controls whether or not you want to follow the last (possible) symlink.
-
directory_entry root() const¶