summaryrefslogtreecommitdiff
path: root/src/home
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-08-18 15:11:06 +0200
committerLennart Poettering <lennart@poettering.net>2020-08-19 15:46:07 +0200
commitcaf6bd166f6521e1e33a25c39bb2e1b05d61b733 (patch)
treee51ba617202cdf4281ae93295e42e67d929e8d79 /src/home
parent1b13600948b9fc5d35b3b643d02e5323f75dd682 (diff)
downloadsystemd-caf6bd166f6521e1e33a25c39bb2e1b05d61b733.tar.gz
homed: default to "btrfs" as fs type in the LUKS backend
Apparently both Fedora and suse default to btrfs now, it should hence be good enough for us too. This enables a bunch of really nice things for us, most importanly we can resize home directories freely (i.e. both grow *and* shrink) while online. It also allows us to add nice subvolume based home directory snapshotting later on. Also, whenever we mention the three supported types, alaways mention them in alphabetical order, which is also our new order of preference.
Diffstat (limited to 'src/home')
-rw-r--r--src/home/homectl.c2
-rw-r--r--src/home/homed.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/home/homectl.c b/src/home/homectl.c
index 9d082ef0c0..9e80a1d60f 100644
--- a/src/home/homectl.c
+++ b/src/home/homectl.c
@@ -1956,7 +1956,7 @@ static int help(int argc, char *argv[], void *userdata) {
" --image-path=PATH Path to image file/directory\n"
"\n%4$sLUKS Storage User Record Properties:%5$s\n"
" --fs-type=TYPE File system type to use in case of luks\n"
- " storage (ext4, xfs, btrfs)\n"
+ " storage (btrfs, ext4, xfs)\n"
" --luks-discard=BOOL Whether to use 'discard' feature of file system\n"
" when activated (mounted)\n"
" --luks-offline-discard=BOOL\n"
diff --git a/src/home/homed.conf b/src/home/homed.conf
index 6de75fc5ca..1b5dbedabd 100644
--- a/src/home/homed.conf
+++ b/src/home/homed.conf
@@ -13,4 +13,4 @@
[Home]
#DefaultStorage=
-#DefaultFileSystemType=ext4
+#DefaultFileSystemType=btrfs