/tg/ Station 13 - Modules - Types — Var Details - Proc Details

failing

A counting sidecar store that fails a chosen write, truncating the file or reporting an error.

Vars

fail_destinationExact destination at which to simulate a failed write.
fail_on_matchMatching write number to fail.
matching_writesNumber of writes observed for the selected destination.
short_writeWhether the failed attempt truncates the destination.

Procs

write_fileFails the chosen write, as a full disk or a crash would.

Var Details

fail_destination

Exact destination at which to simulate a failed write.

fail_on_match

Matching write number to fail.

matching_writes

Number of writes observed for the selected destination.

short_write

Whether the failed attempt truncates the destination.

Proc Details

write_file

Fails the chosen write, as a full disk or a crash would.