projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea106c
)
Filter readonly mount points in DiskUsageCounter (#297405)
author
Michael Andres
<ma@suse.de>
Thu, 30 Aug 2007 16:17:12 +0000
(16:17 +0000)
committer
Michael Andres
<ma@suse.de>
Thu, 30 Aug 2007 16:17:12 +0000
(16:17 +0000)
zypp/DiskUsageCounter.cc
patch
|
blob
|
history
diff --git
a/zypp/DiskUsageCounter.cc
b/zypp/DiskUsageCounter.cc
index
6458777
..
def5cd9
100644
(file)
--- a/
zypp/DiskUsageCounter.cc
+++ b/
zypp/DiskUsageCounter.cc
@@
-277,6
+277,10
@@
namespace zypp
break;
}
}
+ if ( ro ) {
+ DBG << "Filter ro mount point : " << l << std::endl;
+ continue;
+ }
//
// statvfs (full path!) and get the data
@@
-304,6
+308,6
@@
namespace zypp
str << "dir:[" << obj.dir << "] [ bs: " << obj.block_size << " ts: " << obj.total_size << "]" << std::endl;
return str;
}
-
+
} // namespace zypp
///////////////////////////////////////////////////////////////////