"mount,losetup: use /dev/loop-control is it exists" regression

Lauri Kasanen cand at gmx.com
Tue Dec 17 09:05:24 UTC 2019


Hi,

In TC, we noticed a regression from the loop-control commit.
"mount: can't setup loop device: No such file or directory" when trying
to mount more than eight loops, on a kernel with loop-control.

It's possibly a race, could be udev didn't have time to create the
device before bb tried to open() it. Probably bb should mknod() it even
in the loop-control path.

- Lauri


More information about the busybox mailing list