[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to create an image file system that grows



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

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: