Skip to content

Commit

Permalink
man mkcomposefs: detail inlining logic
Browse files Browse the repository at this point in the history
Whilst playing with mkcomposefs using small dummy files, it's
confusing to find that objects are not created in the
digest-store. There is an optimization to inline these files in the
metadata (see lcfs-internal.h). Add a clarification to help.

Signed-off-by: Ed Baunton <edbaunton@gmail.com>
  • Loading branch information
edbaunton committed Feb 15, 2024
1 parent 47f6949 commit b99a978
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions man/mkcomposefs.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ will be a mountable composefs image.


**\-\-digest-store**=*PATH*
: This path will become a composefs "object store". Non-empty
regular files in the *SOURCEDIR* will be copied (reflinked if
possible) into this target directory, named after their fsverity
digest. If possible, the added files will have fs-verity enabled.
: This path will become a composefs "object store". Regular files
larger than 64 bytes in the *SOURCEDIR* will be copied (reflinked
if possible) into this target directory, named after their
fsverity digest. Small files will be inlined into the image
metadata. If possible, the added files will have fs-verity
enabled.

This directory should be passed to the basedir option when you
mount the image.
Expand Down

0 comments on commit b99a978

Please sign in to comment.