src/catar/encoder.rs: skip RAMFS

unless explicitly selected.
This commit is contained in:
Dietmar Maurer 2019-03-04 06:48:47 +01:00
parent 597a92039e
commit e0b8ce6424

View File

@ -269,6 +269,8 @@ impl <'a, W: Write> CaTarEncoder<'a, W> {
} else {
if let Some(ref set) = self.devices {
include_children = set.contains(&dir_stat.st_dev);
} else if is_temporary_file_system(magic) {
include_children = false;
}
}