diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-08-14 16:44:30 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-08-14 18:46:08 +0200 |
commit | 440f805c173f979cb5f7e28becd167467a1c5a2a (patch) | |
tree | eb1042cf89305cb252b020aae2ea1fca7befd0d1 /man/repart.d.xml | |
parent | mkdir: Add support for creating subvolumes to mkdir_p_root() (diff) | |
download | systemd-440f805c173f979cb5f7e28becd167467a1c5a2a.tar.xz systemd-440f805c173f979cb5f7e28becd167467a1c5a2a.zip |
repart: Add Subvolumes= setting
This setting indicates which directories in the target partition
should be btrfs subvolumes. If set, we'll try to create these
directories as subvolumes.
Note that this only works when running as root without --offline,
as mkfs.btrfs does not support creating subvolumes.
Diffstat (limited to 'man/repart.d.xml')
-rw-r--r-- | man/repart.d.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man/repart.d.xml b/man/repart.d.xml index a79724a93e..261c673249 100644 --- a/man/repart.d.xml +++ b/man/repart.d.xml @@ -501,6 +501,21 @@ </varlistentry> <varlistentry> + <term><varname>Subvolumes=</varname></term> + + <listitem><para>Takes one or more absolute paths, separated by whitespace, each declaring a directory + that should be a subvolume within the new file system. This option may be used more than once to + specify multiple directories. Note that this setting does not create the directories themselves, that + can be configured with <varname>MakeDirectories=</varname> and <varname>CopyFiles=</varname>.</para> + + <para>Note that this option only takes effect if the target filesystem supports subvolumes, such as + <literal>btrfs</literal>.</para> + + <para>Note that due to limitations of <literal>mkfs.btrfs</literal>, this option is only supported + when running with <option>--offline=no</option>.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>Encrypt=</varname></term> <listitem><para>Takes one of <literal>off</literal>, <literal>key-file</literal>, |