src/catar/encoder.rs: skip RAMFS
unless explicitly selected.
This commit is contained in:
parent
597a92039e
commit
e0b8ce6424
|
@ -269,6 +269,8 @@ impl <'a, W: Write> CaTarEncoder<'a, W> {
|
||||||
} else {
|
} else {
|
||||||
if let Some(ref set) = self.devices {
|
if let Some(ref set) = self.devices {
|
||||||
include_children = set.contains(&dir_stat.st_dev);
|
include_children = set.contains(&dir_stat.st_dev);
|
||||||
|
} else if is_temporary_file_system(magic) {
|
||||||
|
include_children = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue