class StartOptions

Defined at line 190 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_types.h

Options for starting a filesystem.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_fs_startup::wire::StartOptions> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_fs_startup::wire::StartOptions> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_fs_startup::wire::StartOptions>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void StartOptions ()

Defined at line 192 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_types.h

void StartOptions (const StartOptions & other)

Defined at line 193 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_types.h

bool has_read_only ()
StartOptions & operator= (const StartOptions & other)

Defined at line 194 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_types.h

void StartOptions (StartOptions && other)

Defined at line 195 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_types.h

StartOptions & operator= (StartOptions && other)

Defined at line 196 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_types.h

bool & read_only ()

Start the filesystem in read-only mode.

bool & verbose ()

Enable verbose logging.

bool has_verbose ()
bool & fsck_after_every_transaction ()

If true, run fsck after every transaction. This is for testing purposes only - it's very

slow to run a filesystem like this.

bool has_fsck_after_every_transaction ()
uint32_t & startup_profiling_seconds ()

Use profiling for the first N seconds after filesystem start. Records the access patterns

of objects for N seconds and if the profile already exists, prefetch data and hold the vmos

in cache for N seconds. Functionally this means that the first launch with this option

records the profile and all other launches with this option will replay that profile.

bool has_startup_profiling_seconds ()
bool & inline_crypto_enabled ()

If true, configures the filesystem to use the hardware's inline encryption engine when

writing encrypted data. This allows the filesystem to store user-encrypted data without

being able to read or write the plaintext contents, which enhances security and privacy.

Requires the block device to support inline encryption and for `barriers_enabled` to be

true.

TODO(https://fxbug.dev/393196849): For now, this flag only prevents the filesystem from

computing checksums. Update this comment when the filesystem actually uses inline

encryption.

bool has_inline_crypto_enabled ()
bool & barriers_enabled ()

Configures the filesystem to use barriers instead of checksums to ensure consistency. If

set, barriers will be used to enforce proper ordering of data and metadata writes, which

is otherwise provided by computing and verifying data checksums. Requires filesystem

support; at the time of writing, only Fxfs uses this argument.

Must be set to true if `inline_crypto_enabled` is true.

bool has_barriers_enabled ()
bool & merge_super_and_userdata ()

Only valid for GPT.

Configures the GPT to merge the `super` and `userdata` partitions into an overlay partition

`fxfs` when possible. The partitions must be physically contiguous. See

fuchsia.storage.partitions.OverlayPartition for more details.

bool has_merge_super_and_userdata ()
void ~StartOptions ()

Defined at line 198 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder