Date: Fri, 06 Jan 2017 22:40:27 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215836] [PATCH] sbin/dmesg: support new flag for watching messages Message-ID: <bug-215836-8-bkjpHRCtyk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-215836-8@https.bugs.freebsd.org/bugzilla/> References: <bug-215836-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215836 --- Comment #2 from joe@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 =3D open("/dev/klog", O_RDONLY | O_NONBLOCK | O_CLOEXEC, 0)) <= 0) err(EXIT_FAILURE, "open"); dmesg: open: Device busy --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215836-8-bkjpHRCtyk>