Allison Karlitskaya
516df12af9
udevadm: flush output after each monitor event
...
If you're using `udevadm monitor` from a script, without a tty, then
libc defaults to being fully-buffered, and won't flush stdout after
newlines. This is fine for tools that dump a bunch of data and then
exit immediately. It's a problem for tools like `udevadm monitor` which
have long pauses: the buffered data can get stuck in the buffer for an
unbounded amount of time.
In the Cockpit project we've been working around this for some time with
`stdbuf` which is a `LD_PRELOAD` hack to change the libc buffering
behaviour, but we'd like to stop doing that.
Let's make sure we flush the buffer after each event.
2025-10-28 17:51:19 +01:00
..
2025-07-24 10:42:50 +02:00
2025-07-04 09:47:47 +02:00
2025-05-21 23:57:31 +09:00
2025-10-16 17:00:29 +02:00
2025-05-21 23:57:31 +09:00
2025-10-16 17:00:29 +02:00
2025-10-16 17:00:29 +02:00
2025-05-21 23:57:31 +09:00
2025-07-24 10:42:50 +02:00
2025-07-11 10:42:08 +09:00
2025-07-11 13:05:42 +09:00
2025-07-11 13:05:42 +09:00
2025-09-26 11:12:04 +02:00
2025-05-21 23:57:31 +09:00
2025-04-18 14:19:15 +02:00
2025-04-18 14:19:15 +02:00
2025-09-26 11:12:04 +02:00
2025-05-14 11:15:45 +02:00
2025-05-21 23:57:31 +09:00
2025-09-24 18:13:10 +02:00
2025-07-24 10:42:50 +02:00
2025-09-25 20:06:11 +02:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-07-24 10:42:50 +02:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-09-24 03:13:32 +08:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-09-23 19:53:39 +09:00
2025-05-21 23:57:31 +09:00
2025-05-07 22:04:46 +09:00
2025-10-17 21:11:23 +09:00
2025-09-17 21:51:36 +02:00
2025-05-21 23:57:31 +09:00
2025-06-17 13:16:44 +02:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-07-29 18:05:20 +02:00
2025-10-17 21:11:23 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-10-17 21:11:23 +09:00
2025-05-09 08:54:26 +09:00
2025-05-21 23:57:31 +09:00
2025-08-26 06:00:03 +09:00
2025-10-17 21:11:23 +09:00
2025-09-19 08:39:32 +02:00
2025-10-17 21:11:23 +09:00
2025-09-18 08:43:18 +09:00
2025-07-11 10:42:08 +09:00
2025-08-05 10:37:02 +02:00
2025-05-21 23:57:31 +09:00
2025-10-17 21:11:23 +09:00
2025-07-03 11:22:34 +02:00
2025-07-03 11:22:34 +02:00
2025-10-28 15:22:21 +09:00
2025-05-21 23:57:31 +09:00
2025-07-29 18:05:20 +02:00
2025-05-21 23:57:31 +09:00
2025-07-11 10:42:08 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-05-29 04:04:22 +09:00
2025-10-22 22:56:02 +02:00
2025-10-28 17:51:19 +01:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-07-11 22:07:41 +09:00
2025-10-16 17:00:29 +02:00
2025-07-11 10:42:08 +09:00
2025-05-21 23:57:31 +09:00
2025-05-21 23:57:31 +09:00
2025-10-16 17:00:29 +02:00
2025-05-21 23:57:31 +09:00