]> git.ipfire.org Git - thirdparty/lxc.git/commit
Use /dev/loop-control if it exists
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 3 Jul 2015 12:10:17 +0000 (14:10 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 14 Aug 2015 17:23:34 +0000 (13:23 -0400)
commit9a485d80909031e93c19435cc4a799bade9913a9
tree90925d2c16292e54cc55530e25929dca5fd68b08
parent0e952295841bce6cf7de4424a28382f5875a8178
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