summaryrefslogtreecommitdiff
path: root/src/shared/mkfs-util.h
Commit message (Collapse)AuthorAgeFilesLines
* mkfs-util: Add quiet argument to make_filesystem()Daan De Meyer2023-05-121-0/+1
| | | | | | | | We default to quiet operation everywhere except for repart, where we disable quiet and have the mkfs tools write to stdout. We also make sure --quiet or equivalent is implemented for all mkfs tools.
* repart: Add support for reading mkfs options from environmentDaan De Meyer2023-03-101-0/+2
|
* repart: Allow configuring sector sizeDaan De Meyer2023-01-171-1/+9
| | | | | | Let's allow users to configure the (logical) sector size of their image. This is required when building images for a 4k sector size disk on a 512b sector size host or vice-versa.
* Implement SYSTEMD_HOME_MKFS_OPTIONS_* envvars to configure mkfs options for ↵Aidan Dang2022-12-151-1/+1
| | | | homed LUKS directories
* mkfs-util: Add root support for ext and btrfsDaan De Meyer2022-11-151-0/+2
| | | | | For these filesysrems, it's useful to provide the filesystem upfront so that we don't have to mount it later which requires root privileges.
* repart: Extend squashfs logic to all read-only filesystemsDaan De Meyer2022-09-231-0/+2
| | | | | | The same logic will apply to every read-only filesystem that we might add support for in the future, so let's make this a bit more future proof.
* shared: Add squashfs support to make_filesystem()Daan De Meyer2022-09-211-1/+1
| | | | | The caveat is that the caller has to provide a source directory to initialize the squashfs filesystem from.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* shared: introduce mkfs-util.c/.hLennart Poettering2020-08-241-0/+10
Let's move the "mkfs" code from homed there, plus other related code. This way we can easily reuse it from other places.