class StartedSingleVolumeMultiVolumeFilesystem
Defined at line 232 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 234 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,MountedVolumevolume)
Defined at line 235 of file ../../src/storage/lib/fs_management/cpp/mount.h
void StartedSingleVolumeMultiVolumeFilesystem (StartedSingleVolumeMultiVolumeFilesystem && o)
Defined at line 241 of file ../../src/storage/lib/fs_management/cpp/mount.h
void ~StartedSingleVolumeMultiVolumeFilesystem ()
Defined at line 242 of file ../../src/storage/lib/fs_management/cpp/mount.cc
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 247 of file ../../src/storage/lib/fs_management/cpp/mount.cc
StartedSingleVolumeMultiVolumeFilesystem & operator= (StartedSingleVolumeMultiVolumeFilesystem && o)
Defined at line 247 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 253 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 267 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 271 of file ../../src/storage/lib/fs_management/cpp/mount.h
const std::optional<MountedVolume> & volume ()
Defined at line 273 of file ../../src/storage/lib/fs_management/cpp/mount.h