From 51125b4e0d0cc9652c0553a153e6c830ab4bf9ea Mon Sep 17 00:00:00 2001 From: g7gpr Date: Thu, 15 Aug 2024 00:14:05 +0800 Subject: [PATCH 1/3] Added new entries to .config file for capt_dirs_to_keep, and quota management --- .config | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.config b/.config index 77ddbb032..9f7a65e15 100644 --- a/.config +++ b/.config @@ -218,6 +218,33 @@ logdays_to_keep: 30 ; number of bz2 compressed archive folders to keep. Default 20 bz2_files_to_keep: 20 +; number of CapturedFiles folders to keep. Default is 8 +capt_dirs_to_keep: 8 + + +; the next settings configure the archive management by space used on disc + +; disabling quota management generates the reports, lists the files that would be deleted +; but prevents any action from being taken + +quota_management_disabled: true + +; any one of the next three parameters missing or commented out disables the quota management +; each of the parameters is in GB. + +; overall space allowance for the data directory, typically RMS_data +rms_data_quota: 4000 +; space allowance for the archived directories, and the files contained within +arch_dir_quota: 100 +; space allowance for the bz2 files +bz2_files_quota: 100 + +; Therefore the space allowed for the CapturedFiles directory is +; rms_data_quota - (arch_dir_quota + bz2_files_quota) +; space used by log files is ignored + + + ; Toggle showing maxpixel on the screen during capture live_maxpixel_enable: false From c386b0947782dd2b60c9d8a481a054fc840c0946 Mon Sep 17 00:00:00 2001 From: g7gpr Date: Thu, 15 Aug 2024 00:14:49 +0800 Subject: [PATCH 2/3] Clarified comment --- .config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config b/.config index 9f7a65e15..6679b0589 100644 --- a/.config +++ b/.config @@ -226,6 +226,7 @@ capt_dirs_to_keep: 8 ; disabling quota management generates the reports, lists the files that would be deleted ; but prevents any action from being taken +; true = disabled, false = enabled quota_management_disabled: true From 27685e0339a4ee74b34bde1f468cde61196669ea Mon Sep 17 00:00:00 2001 From: David Rollinson Date: Sat, 17 Aug 2024 23:52:41 +0000 Subject: [PATCH 3/3] Respect 80 col limit and reword --- .config | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.config b/.config index 6679b0589..5f20b4e0b 100644 --- a/.config +++ b/.config @@ -224,27 +224,29 @@ capt_dirs_to_keep: 8 ; the next settings configure the archive management by space used on disc -; disabling quota management generates the reports, lists the files that would be deleted -; but prevents any action from being taken +; disabling quota management generates the reports, lists the files +; that would be deleted but prevents any action from being taken ; true = disabled, false = enabled quota_management_disabled: true -; any one of the next three parameters missing or commented out disables the quota management -; each of the parameters is in GB. +; any one of the next three parameters missing or commented out disables +; the quota management. + +; Each of the parameters is in GB. ; overall space allowance for the data directory, typically RMS_data rms_data_quota: 4000 -; space allowance for the archived directories, and the files contained within + +; space allowance for the archived directories, and files contained within arch_dir_quota: 100 + ; space allowance for the bz2 files bz2_files_quota: 100 ; Therefore the space allowed for the CapturedFiles directory is ; rms_data_quota - (arch_dir_quota + bz2_files_quota) -; space used by log files is ignored - - +; space used by log files and .db files is ignored ; Toggle showing maxpixel on the screen during capture