Commit f8ad3189 authored by Gleb Popov's avatar Gleb Popov

Add internal command line flag --debug-devd to show debugging info during devd events processing.

parent e2e595a9a7b5
......@@ -26,6 +26,8 @@
#include "devdthread.h"
#include <QCoreApplication>
#include <QDebug>
#include <QHash>
#include <QRegularExpression>
......@@ -54,6 +56,10 @@ void DevdThread::parseLine(QString line)
QString devArg = data["cdev"].trimmed();
if (QCoreApplication::arguments().contains("--debug-devd"))
qDebug() << "devd message: " << data;
// !system=GEOM subsystem=DEV type=CREATE cdev=da0
// GEOM messages are always appear after corresponding DEVFS ones, so
// we are looking for them only
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment