summaryrefslogtreecommitdiff
path: root/src/basic/devnum-util.h
Commit message (Collapse)AuthorAgeFilesLines
* devnum-util: add new devnum_is_zero() helperLennart Poettering2023-03-291-0/+4
|
* devnum-util: split-out device_path_make_inaccessible()Yu Watanabe2022-08-281-0/+1
|
* systemd-growfs: use sd_device_new_from_devnum()Devendra Tewari2022-08-261-1/+0
| | | | | Use sd_device_new_from_devnum() instead of device_path_make_major_minor_sysfs().
* systemd-growfs: remove dependency on udev symlinksDevendra Tewari2022-08-241-0/+1
| | | | | | systemd-growfs currently requires that udev ran first to work (because /dev/block/ symlinks must exist) but that is not what happens when we're not using initrd and systemd is PID1.
* devnum-util: define helper macros for formatting devnum major/minor pairsLennart Poettering2022-04-131-0/+14
| | | | And port some parts over.
* basic: split out dev_t related calls into new devno-util.[ch]Lennart Poettering2022-04-131-0/+37
No actual code changes, just splitting out of some dev_t handling related calls from stat-util.[ch], they are quite a number already, and deserve their own module now I think. Also, try to settle on the name "devnum" as the name for the concept, instead of "devno" or "dev" or "devid". "devnum" is the name exported in udev APIs, hence probably best to stick to that. (this just renames a few symbols to "devum", local variables are left untouched, to make the patch not too invasive) No actual code changes.