summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorKarel Zak2011-03-30 00:27:29 +0200
committerKarel Zak2011-03-30 00:27:29 +0200
commit1bc386e51343909c012e69d43b9c7799ed41d6a4 (patch)
tree529a47ada4cff59299f5bb23d6a48717471e657a /TODO
parentdocs: update TODO (diff)
downloadkernel-qcow2-util-linux-1bc386e51343909c012e69d43b9c7799ed41d6a4.tar.gz
kernel-qcow2-util-linux-1bc386e51343909c012e69d43b9c7799ed41d6a4.tar.xz
kernel-qcow2-util-linux-1bc386e51343909c012e69d43b9c7799ed41d6a4.zip
docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'TODO')
-rw-r--r--TODO24
1 files changed, 19 insertions, 5 deletions
diff --git a/TODO b/TODO
index a01a31a88..c903ab067 100644
--- a/TODO
+++ b/TODO
@@ -2,11 +2,25 @@
dmesg
-----
- - add new command line option --facility= or --loglevel= to print select
- loglevel only. For example
-
- $ dmesg --logleve=6
- $ dmesg --loglevel=INFO
+ - add new command line option --facility= and --level= to print select
+ messages only. For example
+
+ $ dmesg --level=ERR --facility=DAEMON
+
+ IRC log:
+
+ <mezcalero> kzak: the point of --facility= is so that we can distuingish between kernel msgs and userspace msgs written to /dev/kmsg
+ <mezcalero> the latter would set facility=1 (i.e. LOG_USER) or facility=3 (i.e. LOG_DAEMON)
+ <mezcalero> kzak: right now, everything written to kmsg just uses on-char PRIO fields
+ <mezcalero> kzak: i.e. <0> to <7>
+ <mezcalero> kzak: that means facility for all of these is 0
+ <mezcalero> since facility according to the syslog spec is stored in the the bits of the value between "<" and ">" shifted right be 3
+ <mezcalero> and since that is zero for all msgs in kmsg this is identical to LOG_KERN, i.e. 0 << 3
+ <mezcalero> now, the idea is that we fix systemd, dracut and udev to use LOG_DAEMON or LOG_USER instead
+ <mezcalero> instead of using <4> as prefix they'd use <12> or so
+ <mezcalero> where 12 is 4 + 8
+ <mezcalero> where 8 is 1 << 3
+ <mezcalero> and 1 is LOG_USER
mount
-----