mkfs-util: Add support for rootless xfs population
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 16 Nov 2022 10:17:52 +0000 (11:17 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 16 Nov 2022 14:38:17 +0000 (15:38 +0100)
commitaa6aa81c1e2fa0d35f91545d440ce5a31e1a43df
treede91ed15fb3e3eecd66e419058f9739cdad881de
parent39a306ba34ab65dfd7689013e31f26b2690bc36a
mkfs-util: Add support for rootless xfs population

We use mkfs.xfs's protofile (-p) support to achieve this. The
protofile is a description of the files that should be copied into
the filesystem. The format is described in the manpage of mkfs.xfs.
src/shared/mkfs-util.c