]> 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>
Thu, 13 Aug 2015 19:57:12 +0000 (15:57 -0400)
commitf6731fcae9cb0e8fdb7a3474c650a7e600884055
treeb7fff00a7d9897251cc8138db7476274a06a50fd
parent063537f6db6b25c6bd8c9b20fc5b1b6e4e72aed4
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