class GetBlobImageHandle

Defined at line 167 of file fidling/gen/sdk/fidl/fuchsia.fshost/fuchsia.fshost/cpp/fidl/fuchsia.fshost/cpp/markers.h

Obtains a handle to a file where a new system blob volume can be written. The contents of

the file must be a valid fxfs partition image containing a blob volume. The existing blob

volume will remain unmodified until the system is rebooted, or `InstallBlobImage` is

called. The system container will remain mounted as long as `mount_token` is kept open.

*NOTE*: This method will delete any existing image data cached on disk. Callers are

responsible for keeping the returned `image_file` and `mount_token` alive until the system

image has been fully written and flushed to disk.

# Errors

* `ZX_ERR_IO_DATA_INTEGRITY`: An existing filesystem was found on the device, but it could

not be mounted. This indicates that the filesystem is possibly corrupt, or has a newer

on-disk version than the recovery image. To avoid unintended data loss, the user should

explicitly initiate any remedial action, such as wiping the device or using a newer image.

* `ZX_ERR_INTERNAL`: An internal error occured; see fshost logs for more context.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal