Skip to contentSkip to conversation

monitordisk: lower inode check warning to note

PATCH Superseded Olof Johansson 2 participants 2 messages Oct 17, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 monitordisk: lower inode check warning to note

Filesystems like btrfs and reiserfs sets the inode count to 0, since they don't have an inode concept. This is excepted, and having a warning show up every time you run bitbake can cause undue concern.

---
 lib/bb/monitordisk.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/monitordisk.py +1 -1
index 3e6ecbd..fca43ee 100644
@@ -243,7 +243,7 @@ class diskMonitor:
                     # zero, this is a feature of the fs, we disable the inode
                     # checking for such a fs.
                     if st.f_files == 0:
-                        logger.warn("Inode check for %s is unavaliable, will remove it from disk monitor" % path)
+                        logger.info("Inode check for %s is unavaliable, will remove it from disk monitor" % path)
                         self.devDict[k][2] = None
                         continue
                     # Always show warning, the self.checked would always be False if the action is WARN
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 4 lines · Olof Johansson

Filesystems like btrfs and reiserfs sets the inode count to 0, since they don't have an inode concept. This is excepted, and having a warning show up every time you run bitbake can cause undue concern.

s/except/expect/ :)

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics