homectl: Use 'user_subvol_rm_allowed' for btrfs by default.

This commit is contained in:
cvlc12
2025-04-22 22:36:12 +02:00
committed by Daan De Meyer
parent b5bea81b74
commit 05f2d9c080
2 changed files with 2 additions and 2 deletions

View File

@@ -971,7 +971,7 @@
<listitem><para>Takes a string containing additional mount options to use when mounting the LUKS
volume. If specified, this string will be appended to the default, built-in mount
options.</para>
options. Defaults to "compress=zstd:1,noacl,user_subvol_rm_allowed".</para>
<xi:include href="version-info.xml" xpointer="v250"/></listitem>
</varlistentry>

View File

@@ -37,7 +37,7 @@ static const char *mount_options_for_fstype(const char *fstype) {
if (streq(fstype, "xfs"))
return "noquota";
if (streq(fstype, "btrfs"))
return "noacl,compress=zstd:1";
return "compress=zstd:1,noacl,user_subvol_rm_allowed";
return NULL;
}