Module fsck

Module fsck 

Source
Expand description

ยงPerform consistency checking.

This is an internal module, backing the experimental bootc internals fsck command.

Structsยง

FsckCheck ๐Ÿ”’
FsckError ๐Ÿ”’
A lint check has failed.
ObjectsVerityState ๐Ÿ”’

Enumsยง

FsckFnImpl ๐Ÿ”’

Staticsยง

CHECK_FSVERITY ๐Ÿ”’
CHECK_RESOLVCONF ๐Ÿ”’
FSCK_CHECKS ๐Ÿ”’

Functionsยง

check_fsverity ๐Ÿ”’
check_fsverity_inner ๐Ÿ”’
check_resolvconf ๐Ÿ”’
See https://github.com/bootc-dev/bootc/pull/1096 and https://github.com/containers/bootc/pull/1167 Basically verify that if /usr/etc/resolv.conf exists, it is not a zero-sized file that was probably injected by buildah and that bootc should have removed.
fsck ๐Ÿ”’
fsck_err ๐Ÿ”’
We successfully found a failure.
fsck_ok ๐Ÿ”’
Everything is OK - we didnโ€™t encounter a runtime error, and the targeted check passed.
verity_state_of_all_objects ๐Ÿ”’
verity_state_of_objects ๐Ÿ”’
Check the fsverity state of all regular files in this object directory.

Type Aliasesยง

AsyncFsckFn ๐Ÿ”’
FsckFn ๐Ÿ”’
FsckResult ๐Ÿ”’
The outer error is for unexpected fatal runtime problems; the inner error is for the check failing in an expected way.