From cf8e285b1e5902665768eb4cb20731839439e6b8 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 21 Apr 2024 11:26:56 +0200 Subject: [PATCH] Add redirection mode FS_LAYER_TYPE_SAVE_REPLACE_IGNORE_VOL_SAVE_COMMON --- include/content_redirection/redirection.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/content_redirection/redirection.h b/include/content_redirection/redirection.h index ed88b2d..88a259f 100644 --- a/include/content_redirection/redirection.h +++ b/include/content_redirection/redirection.h @@ -42,6 +42,11 @@ typedef enum FSLayerType { * Same as FS_LAYER_TYPE_CONTENT_MERGE, but for /vol/aoc */ FS_LAYER_TYPE_AOC_MERGE, + + /* Redirects the /vol/save to a given path but leaves the /vol/save/common directory as it is. + * Existing files in /vol/save/8XXXXXXX will be ignored, only files in the layer (provided via the replacementDir) will be used. + */ + FS_LAYER_TYPE_SAVE_REPLACE_IGNORE_VOL_SAVE_COMMON, } FSLayerType; typedef enum ContentRedirectionStatus {