From 65092b1e27a6e14e6170e7e648cbc5cf39f20dc4 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 8 Mar 2019 09:25:00 +0100 Subject: [PATCH] src/catar/encoder.rs: log skipped mount points --- src/catar/encoder.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/catar/encoder.rs b/src/catar/encoder.rs index 5a173de4..bd652143 100644 --- a/src/catar/encoder.rs +++ b/src/catar/encoder.rs @@ -291,6 +291,8 @@ impl <'a, W: Write> CaTarEncoder<'a, W> { name_list.push(filename); } + } else { + eprintln!("skip mount point: {:?}", self.current_path); } name_list.sort_unstable_by(|a, b| a.cmp(&b)); @@ -431,6 +433,7 @@ impl <'a, W: Write> CaTarEncoder<'a, W> { } if !include_payload { + eprintln!("skip content: {:?}", self.current_path); self.write_header(CA_FORMAT_PAYLOAD, 0)?; return Ok(()); }