hide USE_DEEP_STORAGE

This commit is contained in:
Andrew Bauer 2015-04-12 12:20:20 -05:00
parent e4cf323949
commit 30765fdedf
2 changed files with 6 additions and 1 deletions

View File

@ -108,4 +108,9 @@ SELECT * FROM (SELECT NULL as Id,
WHERE NOT EXISTS (
SELECT Name FROM Controls WHERE name = 'ONVIF Camera'
) LIMIT 1;
--
-- Hide USE_DEEP_STORAGE from user to prevent accidental event loss
--
UPDATE `zm`.`Config` SET `Category`='hidden' WHERE `Name`='ZM_USE_DEEP_STORAGE';

View File

@ -183,7 +183,7 @@ our @options =
description => "Use a deep filesystem hierarchy for events",
help => "This option is now the default for new ZoneMinder systems and should not be changed. Previous versions of ZoneMinder stored all events for a monitor under one folder. Enabling USE_DEEP_STORAGE causes ZoneMinder to store events under a folder structure that follows year/month/day/hour/min/second. Storing events this way avoids the limitation of storing more than 32k files in a single folder inherent in some filesystems. It is important to note that you cannot simply change this option. You must stop zoneminder, enable USE_DEEP_STORAGE, and then run \"sudo zmupdate.pl --migrate-events\". FAILURE TO DO SO WILL RESULT IN LOSS OF YOUR DATA! Consult the ZoneMinder WiKi for further details.",
type => $types{boolean},
category => "paths",
category => "hidden",
},
{
name => "ZM_DIR_IMAGES",