class StartedSingleVolumeFilesystem
Defined at line 76 of file ../../src/storage/lib/fs_management/cpp/mount.h
Manages a started filesystem instance (i.e. one started by [`fuchsia.fs.startup.Start`]).
Public Methods
void StartedSingleVolumeFilesystem ()
Defined at line 78 of file ../../src/storage/lib/fs_management/cpp/mount.h
void StartedSingleVolumeFilesystem (fidl::ClientEnd<fuchsia_io::Directory> export_root, fidl::ClientEnd<fuchsia_fs::Admin> admin)
Defined at line 79 of file ../../src/storage/lib/fs_management/cpp/mount.h
void StartedSingleVolumeFilesystem (StartedSingleVolumeFilesystem && o)
Defined at line 82 of file ../../src/storage/lib/fs_management/cpp/mount.h
StartedSingleVolumeFilesystem & operator= (StartedSingleVolumeFilesystem && o)
Defined at line 86 of file ../../src/storage/lib/fs_management/cpp/mount.h
const fidl::ClientEnd<fuchsia_io::Directory> & ExportRoot ()
Returns the connection to the service directory offered by the filesystem.
Defined at line 106 of file ../../src/storage/lib/fs_management/cpp/mount.h
void ~StartedSingleVolumeFilesystem ()
Defined at line 125 of file ../../src/storage/lib/fs_management/cpp/mount.cc
zx::result<> Unmount ()
Unmounts and shuts down the filesystem. Leaves this object in an indeterminate state.
Defined at line 135 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 130 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 143 of file ../../src/storage/lib/fs_management/cpp/mount.cc