On Wed, Jun 4, 2014 at 6:04 PM, Marcel Sánchez Toledano < marcelsanch...@gmail.com> wrote:
> Partially yes. Thanks for that. > > Maybe is a bit offtopic, but.. Do you know any manual or website where I > can found information about creating a image file with BRTFS? > have you ever created an image file with ANY filesystem? > I have tried with no luck... > > What have you tried? The generic method would be - create a file with appropriate size (truncate, dd, whatever) - mkfs (e.g mkfs.btrfs, mkfs.ext4, whatever) - mount -o loop ... - fill the mounted fs (debootstrap, rsync, whatever) If your question is "how to create a rootfs image suitable for lxc", then the easiest method is to simply use lxc templates to create directory-backed container, and then copy the files to the image. -- Fajar
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users