[09/17] installer: Add /var/tmp to the BTRFS layout

Message ID 20240315191442.3951-10-stefan.schantl@ipfire.org
State Superseded
Headers
Series BTRFS support on IPFire 2.x (experimental) |

Commit Message

Stefan Schantl March 15, 2024, 7:14 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 src/installer/hw.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
  

Patch

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]))