Re: How to create an image file system that grows

2009-07-28 Thread Juha Tuuna
T o n g wrote: > 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 b

Re: How to create an image file system that grows

2009-07-27 Thread Jochen Schulz
Kevin Ross: > > ke...@htpc:~$ dd bs=1 count=1 if=/dev/zero of=sparse seek=5GB -- snip > ke...@htpc:~$ /sbin/mke2fs sparse -- snip > The filesystem has 4.4 GB available to it, but it's currently only taking up > 77 MB of disk space. Neat! Thanks for sharing that. J. -- After the millenium I woul

Re: How to create an image file system that grows

2009-07-26 Thread Matthew Moore
On Sunday 26 July 2009 7:44:43 pm T o n g wrote: > 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, Have you seen [1]? I haven't used it, but it looks like it will do exactly what you want. [1] htt

RE: How to create an image file system that grows

2009-07-26 Thread Kevin Ross
> > 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

RE: How to create an image file system that grows

2009-07-26 Thread Kevin Ross
> 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 c