mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
homectl: Use 'user_subvol_rm_allowed' for btrfs by default.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user