Skip to content

Commit

Permalink
Document SYSTEMD_REPART_MKFS_* in repart.d manual
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaël Donval authored and yuwata committed Mar 25, 2024
1 parent 3b09af2 commit 7b123f8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions man/repart.d.xml
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,19 @@
</table>
</refsect1>

<refsect1>
<title>Environment</title>

<para>Extra filesystem formatting options can be provided using filesystem-specific environment variables:
<varname>$SYSTEMD_REPART_MKFS_OPTIONS_BTRFS</varname>, <varname>$SYSTEMD_REPART_MKFS_OPTIONS_XFS</varname>,
<varname>$SYSTEMD_REPART_MKFS_OPTIONS_VFAT</varname>, <varname>$SYSTEMD_REPART_MKFS_OPTIONS_EROFS</varname>,
and <varname>$SYSTEMD_REPART_MKFS_OPTIONS_SQUASHFS</varname>. Each variable accepts valid
<command>mkfs.<replaceable>filesystem</replaceable></command> command-line arguments.
The content of those variables is passed as-is to the command, without any verification.
</para>

</refsect1>

<refsect1>
<title>Examples</title>

Expand Down

0 comments on commit 7b123f8

Please sign in to comment.