Bug 12406 - Loop mount fails after nine mounts with busybox-1.31.1
Summary: Loop mount fails after nine mounts with busybox-1.31.1
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.31.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-16 11:48 UTC by john.frankish
Modified: 2019-12-16 11:53 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description john.frankish 2019-12-16 11:48:04 UTC
Using busybox-1.31.1 loop mounting fails after mounting nine squashfs packages with:

mount: can't setup loop device: No such file or directory

/dev/loop0 -> /dev/loop8 exist

After reversing the commit "mount,losetup: use /dev/loop-control is it exists" things now seem to work.
Comment 1 john.frankish 2019-12-16 11:53:26 UTC
To clarify:

Prior to loop mounting anything /dev/loop0 -> /dev/loop7 exist.

After attempting to loop mount many squashfs packages, the error occurs when nine packages have been loop mounted and /dev/loop0 -> /dev/loop8 exist.