From: Stefan Schantl Date: Mon, 26 Feb 2024 05:40:02 +0000 (+0100) Subject: installer: Add /var/tmp to the BTRFS layout X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a86ced416d1106f699d9121713e411238eba714e;p=people%2Fstevee%2Fipfire-2.x.git installer: Add /var/tmp to the BTRFS layout Signed-off-by: Stefan Schantl --- diff --git a/src/installer/hw.c b/src/installer/hw.c index e520fb687..7868cbb23 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -46,14 +46,15 @@ // 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]))