diff --git a/Cargo.toml b/Cargo.toml index 5277ca9..2301a5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sys-compare" description = "Track Filesystem Integrity via 'Snapshots' which contain a HashMap of the files and their corresponding hash signature from a specified directory." -version = "0.1.8" +version = "0.1.9" edition = "2021" authors = ["james@koonts.net"] license = "MIT" @@ -14,4 +14,4 @@ readme = "README.md" filesystem-hashing = "0.2.8" clap = { version = "4.5.4", features = ["derive"] } whoami = "1.5.1" -anyhow = "1.0.81" +anyhow = "1.0.82" diff --git a/src/createmode.rs b/src/createmode.rs index bcf4843..e08993d 100644 --- a/src/createmode.rs +++ b/src/createmode.rs @@ -25,7 +25,11 @@ impl CreateMode { root_path, snapshot: Snapshot { file_hashes: Arc::new(Mutex::new(Default::default())), - black_list: vec![], + black_list: vec![ + "/dev".to_string(), + "/proc".to_string(), + "/tmp".to_string(), + ], root_path: "".to_string(), hash_type: BLAKE3, uuid: "".to_string(),