Skip to content
Snippets Groups Projects

setup_loop: simplify and fix dependency on kernel defaults

Merged Thore Sommer requested to merge TS/live-boot:simplify-setup_loop into master

This removes some of the options that are the same for every caller. We now use losetup -f to detect free loop devices. This has the advantage that this also works when the kernel is compiled with: CONFIG_BLK_DEV_LOOP_MIN_COUNT=0

Busybox seems to have stable support for -f since 2013 (https://github.com/brgl/busybox/commit/4928e9f7d0a17898300f20567a331417fafc16c1), so I think it is safe to depend on it.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading