[Bug 215836] [PATCH] sbin/dmesg: support new flag for watching messages

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 6 22:40:27 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215836

--- Comment #2 from joe at thrallingpenguin.com ---
I agree that kqueue() is a much better solution, but I am met with an error
when trying to open /dev/klog. The details are below. Any assistance on a
solution would be most appreciated!

if ((klog_fd = open("/dev/klog", O_RDONLY | O_NONBLOCK | O_CLOEXEC, 0)) < 0)
        err(EXIT_FAILURE, "open");

dmesg: open: Device busy

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list