Searched refs:uevent (Results 1 - 1 of 1) sorted by relevance

/systemd/src/libsystemd/sd-device/
H A Dsd-device.c187 /* all 'devices' require an 'uevent' file */
188 path = strjoina(syspath, "/uevent");
195 log_debug("sd-device: %s does not have an uevent file: %m", syspath);
496 _cleanup_free_ char *uevent = NULL; local
522 path = strjoina(syspath, "/uevent");
524 r = read_full_file(path, &uevent, &uevent_len);
526 /* empty uevent files may be write-only */
529 /* some devices may not have uevent files, see set_syspath() */
532 log_debug_errno(r, "sd-device: failed to read uevent file '%s': %m", path);
539 if (!strchr(NEWLINE, uevent[
[all...]

Completed in 13 milliseconds