]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
installer: Add /var/tmp to the BTRFS layout
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 26 Feb 2024 05:40:02 +0000 (06:40 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 26 Feb 2024 05:40:02 +0000 (06:40 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/installer/hw.c

index e520fb6871abd2d4f55191a2ec6be8bb720f159f..7868cbb23dab47fdfd884729a0bac04c4554bb6b 100644 (file)
 
 // Array which contains the subvolumes which will be created when installing
 // IPFire on a BTRFS.
-const char* btrfs_subvolumes[7][2] = {
+const char* btrfs_subvolumes[8][2] = {
        {"@root" ,"/"},
        {"@snapshots", "/.snapshots"},
        {"@home", "/home"},
        {"@cache", "/var/cache"},
        {"@lib", "/var/lib"},
        {"@logs", "/var/log"},
-       {"@mails", "/var/mail"}
+       {"@mails", "/var/mail"},
+       {"@tmp", "/var/tmp"}
 };
 
 #define LEN(arr) ((int) (sizeof (arr) / sizeof (arr)[0]))