class StartedSingleVolumeMultiVolumeFilesystem

Defined at line 231 of file ../../src/storage/lib/fs_management/cpp/mount.h

A special case of a multi-volume filesystem where we only ever operate on one volume. Implements

the `SingleVolumeFilessystemInterface` interface. Useful for testing.

Public Methods

void StartedSingleVolumeMultiVolumeFilesystem ()

Defined at line 233 of file ../../src/storage/lib/fs_management/cpp/mount.h

void StartedSingleVolumeMultiVolumeFilesystem (fidl::ClientEnd<fuchsia_io::Directory> exposed_dir, fidl::ClientEnd<fuchsia_fs::Admin> admin, MountedVolume volume)

Defined at line 234 of file ../../src/storage/lib/fs_management/cpp/mount.h

void ~StartedSingleVolumeMultiVolumeFilesystem ()

Defined at line 237 of file ../../src/storage/lib/fs_management/cpp/mount.cc

void StartedSingleVolumeMultiVolumeFilesystem (StartedSingleVolumeMultiVolumeFilesystem && o)

Defined at line 240 of file ../../src/storage/lib/fs_management/cpp/mount.h

fidl::ClientEnd<fuchsia_io::Directory> Release ()

Takes the filesystem connection, so the filesystem won't automatically be shut down when this

object goes out of scope. Some filesystems will automatically shut down when the last

connection to goes out of scope; others will never shut down.

Defined at line 242 of file ../../src/storage/lib/fs_management/cpp/mount.cc

StartedSingleVolumeMultiVolumeFilesystem & operator= (StartedSingleVolumeMultiVolumeFilesystem && o)

Defined at line 246 of file ../../src/storage/lib/fs_management/cpp/mount.h

zx::result<> Unmount ()

Unmounts and shuts down the filesystem. Leaves this object in an indeterminate state.

Defined at line 248 of file ../../src/storage/lib/fs_management/cpp/mount.cc

zx::result<fidl::ClientEnd<fuchsia_io::Directory>> DataRoot ()

Returns a connection to the data root (i.e. the directory which contains user data).

Defined at line 265 of file ../../src/storage/lib/fs_management/cpp/mount.h

const fidl::ClientEnd<fuchsia_io::Directory> & ExportRoot ()

Returns the connection to the export root of the filesystem.

Defined at line 269 of file ../../src/storage/lib/fs_management/cpp/mount.h

const std::optional<MountedVolume> & volume ()

Defined at line 271 of file ../../src/storage/lib/fs_management/cpp/mount.h