Maybe ship modprobe.d with "options loop max_loop=?"

On Fri, Apr 24, 2015 at 5:05 PM, Dietmar Maurer <diet...@proxmox.com> wrote:

> > > Looking at source code
> > > https://github.com/lxc/lxc/blob/master/src/lxc/lxc_create.c
> > >
> > > It doesn't do too much thing.
> > >
> > > I agree with Diemar, I can be easy to implement this in perl.
> > >
> > > (and possible to use qemu-img to create qcow2 file for example, ceph
> rbd,
> > > ...
> > > maybe reuse pve-storage  ? )
> >
> > That is exactly the point -  I want to reuse code from pve-storage.
> > I already have a working prototype, but I need to do more tests,
> especially
> > with unprivileged containers ...
>
> OK, here is the final code:
>
>
> https://git.proxmox.com/?p=pve-container.git;a=blob;f=src/PVE/LXCCreate.pm;h=7366be460488fe0cf1266802a43c2dbe332fc31d;hb=5b4657d05eab58d04a41e502c03b7f8f23b60bab
>
> I implemented the loop mount case as example. Not sure if I miss
> something, but
> this also works with unprivileged containers.
>
> But loop devices are limited - 7 by default, so that is not really usable.
> Is there a way to use more loop devices dynamically?
>
>


-- 
Kamil Trzciński

ayu...@ayufan.eu
www.ayufan.eu
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to