summaryrefslogtreecommitdiff
path: root/src/shared/loop-util.c
Commit message (Expand)AuthorAgeFilesLines
* Implement --luks-sector-size for homedAidan Dang2022-10-071-3/+18
* loop-util: re-introduce loop_device_open() which takes sd_device objectYu Watanabe2022-09-281-47/+65
* loop-util: rename loop_device_open() -> loop_device_open_from_path()Yu Watanabe2022-09-281-1/+1
* loop-util: introduce reference counter for LoopDeviceYu Watanabe2022-09-181-1/+5
* loop-util: do not try to enumerate partitions twiceYu Watanabe2022-09-091-9/+3
* loop-util: always check if backing file is not attached yetYu Watanabe2022-09-091-8/+10
* loop-util: open loopback block device in loop_configure()Yu Watanabe2022-09-091-109/+86
* loop-util: save the flag about if LOOP_CONFIGURE ioctl works or not in loop_c...Yu Watanabe2022-09-091-20/+18
* loop-util: split out several functions fron loop_configure() and loop_device_...Yu Watanabe2022-09-091-108/+138
* Merge pull request #24571 from yuwata/dissect-loop-image-use-backing-fileYu Watanabe2022-09-071-79/+56
|\
| * loop-util: save backing file of loopback block deviceYu Watanabe2022-09-071-3/+29
| * loop-util: move device_has_block_children() to blockdev-util.cYu Watanabe2022-09-071-48/+1
| * blockdev-util: make block_device_remove_all_partitions() take sd_device objectYu Watanabe2022-09-071-2/+2
| * loop-util: store sd_device object for the loop deviceYu Watanabe2022-09-061-27/+25
* | loop-util: fix leak of file descriptor on failureYu Watanabe2022-09-071-2/+4
|/
* loop-util: lock_fd must be closed before calling LOOP_CLR_FDYu Watanabe2022-09-051-1/+3
* loop-util: drop unnecessary initializationsYu Watanabe2022-09-051-2/+2
* loop-util: use loop_device_open_full() when whole block device is passed to l...Yu Watanabe2022-09-051-59/+3
* loop-util: introduce loop_device_open_full()Yu Watanabe2022-09-051-13/+39
* loop-util: fix LoopDevice.devno assigned by loop_device_open()Yu Watanabe2022-09-051-1/+1
* loop-util: also set LoopDevice.diskseq when created with loop_device_open()Yu Watanabe2022-09-051-0/+6
* loop-util: fix memleak when fd is for a block device with non-zero offset or ...Yu Watanabe2022-09-031-1/+1
* loop-util: always set LoopDevice.nodeYu Watanabe2022-09-031-0/+5
* loop-util: rename loopdev -> nodeYu Watanabe2022-09-031-7/+7
* loop-util: make clearer how LoopDevice objects that do not encapsulate an act...Lennart Poettering2022-09-011-2/+2
* loop-util: lock the control device around clearing the loopback device and de...Lennart Poettering2022-09-011-19/+32
* loop-util: close lock fd before trying LOOP_CLR_FD in failure pathLennart Poettering2022-09-011-0/+3
* loop-util: drop code to attach empty fileLennart Poettering2022-09-011-50/+13
* loop-util: rework how we lock loopback block devicesLennart Poettering2022-09-011-18/+85
* loop-util: when clearing a loopback device delete partitions first, and take ...Lennart Poettering2022-09-011-2/+18
* loop: convert impossibe EBADF cases into assertsLennart Poettering2022-09-011-6/+3
* loop-util: use DEVNUM_FORMAT_STR moreLennart Poettering2022-09-011-3/+3
* loop-util: move resize partition ioctl call to blockdev-util.[ch]Lennart Poettering2022-09-011-13/+5
* loop: make 'Failed to configure loopback device' log message clearerLennart Poettering2022-08-291-1/+1
* tree-wide: use devpath_from_devnum() and device_open_from_devnum()Yu Watanabe2022-08-281-6/+2
* loop-util: use filter provided by sd_device_enumeratorYu Watanabe2022-08-271-28/+7
* loop-util: Add loop_device_unrelinquish()Daan De Meyer2022-08-031-0/+5
* basic: split out dev_t related calls into new devno-util.[ch]Lennart Poettering2022-04-131-1/+2
* loop-util: add debug message with details about acquired loopback deviceLennart Poettering2022-04-071-0/+6
* loop-util: explicitly close loopback block device before sleepingLennart Poettering2022-04-071-0/+3
* loop-util: use ERRNO_IS_DEVICE_ABSENT() macro where appropriateLennart Poettering2022-04-071-1/+1
* loop-util: take a LOCK_EX BSD file lock on control device while we acquire a ...Lennart Poettering2022-04-071-0/+16
* loop-util: slightly rework device_has_block_children()Lennart Poettering2022-04-071-12/+23
* loop-util: let's cut trailing whitespace, not trailing linesLennart Poettering2022-04-071-3/+1
* fd-util: rename loop_get_diskseq() -> fd_get_diskseq()Yu Watanabe2022-04-011-24/+2
* basic/missing: move BLKGETDISKSEQ to missing_fs.hYu Watanabe2022-04-011-0/+1
* tree-wide: use new RET_NERRNO() helper at various placesLennart Poettering2021-11-161-16/+4
* loop-util: reopen device node if we shortcut loop device creationLennart Poettering2021-11-051-4/+9
* loop-util: call loop_device_make_internal() at the right placeLennart Poettering2021-10-201-1/+1
* loop-util: add debug logging about O_RDWR vs. O_RDONLY + O_DIRECT modeLennart Poettering2021-10-201-0/+12