summaryrefslogtreecommitdiffstats
path: root/src/shared/blockdev-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* blockdev-util: fix typoYu Watanabe2024-04-181-1/+1
* blockdev-util: also read 'ext_range' sysattr to check if the partscan is enabledYu Watanabe2024-04-181-16/+40
* tree-wide: use device_in_subsystem() and device_is_devtype()Yu Watanabe2023-12-221-13/+2
* blockdev-util: add new helper blockdev_get_device_size()Lennart Poettering2023-12-131-0/+15
* blockdev-util: export block_device_get_originating()Lennart Poettering2023-11-021-1/+1
* device-util: Declare iterator variables inlineDaan De Meyer2023-07-121-2/+0
* bootctl: add new --print-root-device optionLennart Poettering2023-02-211-0/+51
* blockdev-util: add simple wrapper around BLKSSZGETLennart Poettering2023-01-181-0/+15
* dissect-image: Notify btrfs when we're done using a loop deviceDaan De Meyer2023-01-121-0/+4
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-7/+7
* blockdev-util: move O_PATH fd conversion into btrfs_get_block_device_fd() to ...Lennart Poettering2022-11-291-32/+2
* blockdev-util: introduce block_device_new_from_fd() and block_device_new_from...Yu Watanabe2022-09-281-9/+63
* blockdev-util: re-implement block_get_originating() by using sd_deviceYu Watanabe2022-09-281-72/+54
* blockdev-util: reopen file descriptor only when O_PATH is setYu Watanabe2022-09-281-6/+16
* blockdev-util: split-out fd_get_devnum()Yu Watanabe2022-09-281-28/+44
* blockdev-util: make sure get_block_device_fd() works reliably for O_PATH, tooLennart Poettering2022-09-201-1/+15
* udev: use block_device_is_whole_disk()Yu Watanabe2022-09-201-1/+1
* blockdev-util: change return value when a partition device is passed to parti...Yu Watanabe2022-09-181-1/+1
* blockdev-util: introduce block_device_get_whole_disk()Yu Watanabe2022-09-181-0/+29
* blockdev-util: split-out block_device_is_whole_disk()Yu Watanabe2022-09-181-10/+23
* blockdev-util: split out blockdev_reread_partition_table()Yu Watanabe2022-09-091-0/+21
* udevd: use partition enumerator at one more placeYu Watanabe2022-09-091-1/+1
* Merge pull request #24611 from yuwata/loop-util-refactoringYu Watanabe2022-09-091-2/+5
|\
| * loop-util: do not try to enumerate partitions twiceYu Watanabe2022-09-081-2/+5
* | blockdevi-util: also check sysname when enumerating partitionsYu Watanabe2022-09-091-0/+10
|/
* loop-util: move device_has_block_children() to blockdev-util.cYu Watanabe2022-09-071-0/+15
* blockdev-util: check if provided sd_device is for a whole block deviceYu Watanabe2022-09-071-13/+47
* blockdev-util: make block_device_remove_all_partitions() take sd_device objectYu Watanabe2022-09-071-8/+24
* loop-util: move resize partition ioctl call to blockdev-util.[ch]Lennart Poettering2022-09-011-2/+36
* tree-wide: use devpath_from_devnum() and device_open_from_devnum()Yu Watanabe2022-08-281-6/+1
* blockdev-util: Add block_device_remove_all_partitions()Daan De Meyer2022-08-031-0/+66
* blockdev-util: Introduce block_device_add/remove_partition()Daan De Meyer2022-08-031-0/+51
* blockdev-util: Introduce fd_get_whole_disk()Daan De Meyer2022-08-031-0/+48
* basic: split out dev_t related calls into new devno-util.[ch]Lennart Poettering2022-04-131-3/+3
* tree-wide: make FOREACH_DIRENT_ALL define the iterator variableZbigniew Jędrzejewski-Szmek2021-12-151-1/+0
* blockdev-util: add fd-based APIs for getting backing block device for fileLennart Poettering2021-07-081-4/+17
* fs-util: add fd-based flavour of path_is_encrypted()Lennart Poettering2021-07-081-0/+16
* blockdev-util: add fd-based flavour of get_block_device()Lennart Poettering2021-07-081-7/+15
* basic,shared: move a bunch of files to src/shared/Zbigniew Jędrzejewski-Szmek2021-06-241-0/+343