]> git.ipfire.org Git - thirdparty/lxc.git/commit
Use /dev/loop-control if it exists 581/head
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 3 Jul 2015 12:10:17 +0000 (14:10 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 3 Jul 2015 12:58:42 +0000 (14:58 +0200)
commitedd7414a642a52005ebcdd92d5d643b105bbe041
treedc9be8d5a4ca4ac95a8935685baa1b37a461367b
parent814d049da4430c25645924ac245ea1f6bbb35424
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>
src/lxc/bdev.c