Use /dev/loop-control if it exists
Loop devices can be added on the fly when needed, they're
not always created beforehand. The loop-control device can
be used to find and allocate the next available number
instead of going through the /dev directory contents (which
is now only a fallback mechanism).
Signed-off-by:
Wolfgang Bumiller <w.bumiller@proxmox.com>
Showing
Please
register
or
sign in
to comment