class OpenPartitionIo
Defined at line 55 of file fidling/gen/sdk/fidl/fuchsia.paver/fuchsia.paver/cpp/fidl/fuchsia.paver/cpp/markers.h
Opens a `PartitionIo` session backed by block devices in the caller-provided `block_dir`.
Under the capability-delegated permission model, the paver component does not hold ambient
access to all system block partitions. Instead, the caller (such as `system-updater` or
`fastboot`) is responsible for routing the required block device capabilities into its own
namespace (for example, via a scoped `/block` or `/block/ota` directory exposed by `fshost`)
and passing `block_dir` to the paver for the duration of the `PartitionIo` session.
`block_dir` is expected to follow the `fshost` `/block` directory layout (see
https://fuchsia.dev/fuchsia-src/development/storage/storage-partition-routing): each entry
`
<entry
>/` is a subdirectory containing a `fuchsia.storage.block.Block` protocol node at
`
<entry
>/fuchsia.storage.block.Block`.
`partition_io` will be closed on error, with an epitaph provided on failure reason.
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