> Hi, > > How can I create an image file system that can grow bigger as > required? > > Vmware, qemu, kvm, etc all can create file systems in an > image file which > is initially small, but grow bigger as required. I want to do > that too, > but > > dd if=/dev/zero of=file-fs.ext2 bs=1k count=20k > mke2fs file-fs.ext2 > > would only create an image file initially as big as the full size. > > please help, thanks
I haven't tried this myself, but how about appending extra space to the end of the file, then calling resize2fs? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org