1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

shadow_copy2: add comment explaining the SMB level GMT format pattern

Signed-off-by: Michael Adam <obnox@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Michael Adam 2013-05-29 17:11:44 +02:00 committed by Andrew Bartlett
parent 5c900fd930
commit 6da7375cd8

View File

@ -567,7 +567,15 @@ Offset Data length.
#define NOTIFY_ACTION_REMOVED_STREAM 7
#define NOTIFY_ACTION_MODIFIED_STREAM 8
/* timestamp format used in "previous versions" */
/*
* Timestamp format used in "previous versions":
* The is the windows-level format of the @GMT- token.
* It is a fixed format not to be confused with the
* format for the POSIX-Level token of the shadow_copy2
* VFS module that can be configured via the "shadow:format"
* configuration option but defaults to the same format.
* See the shadow_copy2 module.
*/
#define GMT_NAME_LEN 24 /* length of a @GMT- name */
#define GMT_FORMAT "@GMT-%Y.%m.%d-%H.%M.%S"