-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathlistpol_all.txt
30 lines (24 loc) · 1.12 KB
/
listpol_all.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Define exclude list to exclude SpaceMan and snapshots */
define( exclude_list,
(PATH_NAME LIKE '%/.SpaceMan/%' OR
PATH_NAME LIKE '%/.ltfsee/%' OR
PATH_NAME LIKE '%/.mmSharedTmpDir/%' OR
PATH_NAME LIKE '%/.snapshots/%' OR
NAME LIKE '.mmbackupShadow%' OR
NAME LIKE 'mmbackup%')
)
/* Define is migrated */
define( is_migrated,(MISC_ATTRIBUTES LIKE '%V%') )
/* list rule to list all migrated files */
RULE EXTERNAL LIST 'mig' EXEC ''
RULE 'list_mig' LIST 'mig' SHOW ( varchar(file_size) ) WHERE ( is_migrated ) AND ( NOT (exclude_list) )
/* Define is premigrated */
define( is_premigrated,(MISC_ATTRIBUTES LIKE '%M%' AND MISC_ATTRIBUTES NOT LIKE '%V%') )
/* list rule to list all premigrated files */
RULE EXTERNAL LIST 'pmig' EXEC ''
RULE 'list_pmig' LIST 'pmig' SHOW ( varchar(file_size) ) WHERE ( is_premigrated ) AND ( NOT (exclude_list) )
/* Define is resident */
define( is_resident,(MISC_ATTRIBUTES NOT LIKE '%M%') )
/* list rule to list all resident files */
RULE EXTERNAL LIST 'res' EXEC ''
RULE 'list_res' LIST 'res' SHOW ( varchar(file_size) ) WHERE ( is_resident ) AND ( NOT (exclude_list) )