Skip to content

Commit

Permalink
Add "ecryptfs" as local filesystem
Browse files Browse the repository at this point in the history
My notebook uses ecryptfs and this sulry is a local filesystem.
  • Loading branch information
donald committed Sep 24, 2022
1 parent a01abd7 commit 0b1cd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmirror.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ static void out_of_the_way(FileInfo *fi) {
static int is_local_fs(char *fs) {
static GRegex *local_fs_regex;
if (!local_fs_regex)
local_fs_regex = compile_pattern("^(advfs|ufs|ext\\d+|reiserfs|xfs|fuseblk|vfat|efs|tmpfs|btrfs)$");
local_fs_regex = compile_pattern("^(advfs|ufs|ext\\d+|reiserfs|xfs|fuseblk|vfat|efs|tmpfs|btrfs|ecryptfs)$");
return g_regex_match(local_fs_regex, fs, 0, 0);
}

Expand Down

0 comments on commit 0b1cd9c

Please sign in to comment.