[Bug 11886] New: losetup doesn't allow passing -c for resizing loopback device after increasing file size

bugzilla at busybox.net bugzilla at busybox.net
Wed May 22 09:40:23 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=11886

            Bug ID: 11886
           Summary: losetup doesn't allow passing -c for resizing loopback
                    device after increasing file size
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: elhigu at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

While working in docker images I need to create internal ext4 partition to be
able to run docker in docker (docker:dind image). 

If I preallocate big filesystem there, it will cause base image size to be
really big, even if just few megabytes are really needed.

I could try to create sparse file to host the filesystem, but with that the
problem is that docker doesn't support them and when docker image is saved,
sparse file will be written as whole.

So now I'm trying to use this method to resize partition to be bigger on the
fly when allocated space is running low 

https://askubuntu.com/questions/260620/resize-dev-loop0-and-increase-space

Is there any way to install losetup with -c switch supported to busybox?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list