mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 18:24:08 +02:00
skip squashfs
This commit is contained in:
parent
519d5e95f6
commit
e3be95a7b7
1 changed files with 5 additions and 1 deletions
|
|
@ -120,7 +120,11 @@ impl Iterator for DiskUsageParser<'_> {
|
||||||
fn next(&mut self) -> Option<Self::Item> {
|
fn next(&mut self) -> Option<Self::Item> {
|
||||||
let mount_point = loop {
|
let mount_point = loop {
|
||||||
let line = self.lines.next()?;
|
let line = self.lines.next()?;
|
||||||
if line.starts_with('/') && !line.contains("/dev/loop") && !line.contains("fuse") {
|
if line.starts_with('/')
|
||||||
|
&& !line.contains("/dev/loop")
|
||||||
|
&& !line.contains("fuse")
|
||||||
|
&& !line.contains("squashfs")
|
||||||
|
{
|
||||||
debug!(line, "picking mount");
|
debug!(line, "picking mount");
|
||||||
|
|
||||||
let mut parts = line.split_ascii_whitespace();
|
let mut parts = line.split_ascii_whitespace();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue