A common use (e.g. in Ubuntu) for udevadm monitor is to log the events
received by udev during boot; events can be lost of the buffer size isn't
increased as udevd does.
Signed-off-by: Scott James Remnant <scott@ubuntu.com>
rc = 1;
goto out;
}
+ udev_monitor_set_receive_buffer_size(udev_monitor, 128*1024*1024);
udev_list_entry_foreach(entry, udev_list_get_entry(&subsystem_match_list)) {
const char *subsys = udev_list_entry_get_name(entry);
rc = 3;
goto out;
}
+ udev_monitor_set_receive_buffer_size(udev, 128*1024*1024);
udev_list_entry_foreach(entry, udev_list_get_entry(&subsystem_match_list)) {
const char *subsys = udev_list_entry_get_name(entry);