summaryrefslogtreecommitdiffstats
path: root/lib/sysfs.c
Commit message (Expand)AuthorAgeFilesLines
* lib/sysfs: fix reference counting for parentKarel Zak2019-06-111-1/+1
* lib/sysfs: use xstrncpy()Karel Zak2019-05-201-8/+5Star
* lib/fileutils: add xreaddir()Karel Zak2019-04-111-15/+0Star
* lib/sysfs: add function to detect partitioned devicesKarel Zak2018-12-071-0/+14
* lib/sysfs: cleanup function namesKarel Zak2018-06-211-4/+3Star
* lib/sysfs: fix sysfs_blkdev_get_wholedisk()Karel Zak2018-06-211-1/+3
* lib/sysfs: add sysfs_blkdev_get_parent()Karel Zak2018-06-211-0/+6
* lib/sysfs: make possible to call sysfs_blkdev_deinit_path() in loopKarel Zak2018-06-211-8/+16
* lib/path lib/sysfs: add debugKarel Zak2018-06-211-1/+37
* lib/sysfs: add ul_new_sysfs_path() shortcutKarel Zak2018-06-211-20/+33
* lib/sysfs: new implementationKarel Zak2018-06-211-529/+443Star
* libblkid: ignore private Stratis devicesTony Asleson2018-03-091-9/+15
* lsblk: try device/dev to read devnoKarel Zak2018-02-091-43/+54
* libblkid: don't use CDROM_GET_CAPABILITY ioctl for DM devicesKarel Zak2017-07-121-7/+11
* misc: fix gcc-7 snprintf warnings -Wformat-truncationRuediger Meier2017-06-141-2/+2
* docs: Fix word repetitionsYuri Chornoivan2017-02-131-1/+1
* lib: use unique ifdefs for testsKarel Zak2017-01-041-1/+1
* misc: simplify if clauses [oclint]Sami Kerola2016-07-211-4/+2Star
* lib/sysfs: be more smart for non-scsi devicesKarel Zak2016-06-021-1/+4
* misc: Fix various typosSebastian Rasmussen2016-05-311-3/+3
* Revert "include sysmacros.h where used"Karel Zak2016-03-081-1/+0Star
* include sysmacros.h where usedMike Frysinger2016-03-081-0/+1
* lib: remove openat fallback functions (include/at.h)Ruediger Meier2016-03-071-7/+8
* misc: safer (and uniform) handling of return valueYuriy M. Kaminskiy2016-03-071-6/+6
* lsns.c: fix error returnYuriy M. Kaminskiy2016-03-071-1/+1
* misc: fix some printf format stringsRuediger Meier2016-02-111-1/+1
* include: add missing includesRuediger Meier2016-02-111-0/+1
* lib/sysfs: make sysfs_get_devname()/blkid_devno_to_wholedisk() more robustKarel Zak2015-10-301-23/+25
* lib/sysfs: make sysfs_next_subsystem() more robustKarel Zak2015-08-311-0/+2
* lib/sysfs: Use dup_fd_cloexec instead of direct call to fcntlGuillem Jover2015-06-081-1/+1
* lsblk: use internally sysfs devnamesKarel Zak2015-05-291-2/+4
* lib/sysfs: rename devname functions, cleanupKarel Zak2015-05-281-9/+25
* lib/sysfs: Fix /dev to /sys node name translationStanislav Brabec2015-05-281-2/+6
* Fix /sys to /dev node name translationStanislav Brabec2015-05-261-0/+2
* lib/strv: add new functions (from systemd)Karel Zak2015-05-151-1/+2
* lib/sysfs.c: use fcntl(..F_DUPFD_CLOEXEC) instead of dup(2)Cristian Rodríguez2015-04-141-1/+1
* lib/sysfs: use ssize_t for sysfs_readlink() [coverity scan]Karel Zak2015-01-281-4/+3Star
* lib/sysfs: add subsystem and hotplug detectionKarel Zak2014-12-021-1/+152
* lib/sysfs: allow to write to sysfs attributesKarel Zak2014-08-011-6/+42
* lib/sysfs: fix compiler warning [-Wunused-variable]Karel Zak2014-06-181-1/+0Star
* lib/sysfs: add sysfs_devno_is_wholedisk()Karel Zak2014-06-171-0/+18
* lib/sysfs: add sysfs_devno_is_lvm_private() from libblkidKarel Zak2014-06-171-0/+28
* lib/fileutils: add stripoff_last_component() from libmountKarel Zak2014-06-091-11/+1Star
* lib/sysfs: make dirent d_type usage more robustKarel Zak2014-03-041-1/+2
* lib/sysfs: fix scanf format string [coverity scan]Karel Zak2014-01-141-1/+1
* lib: use O_CLOEXEC in libcommonKarel Zak2013-04-031-6/+7
* lsblk: fix hctl buffer usage [coverity scan]Karel Zak2013-03-271-1/+2
* include: cleanup copyright headersKarel Zak2013-01-081-2/+4
* misc: make readlink() usage more robustKarel Zak2012-10-231-1/+1
* lib/sysfs: add SCSI link functionsKarel Zak2012-10-231-2/+50