[Libguestfs] building a supermin appliance with febootstrap...

Richard W.M. Jones rjones at redhat.com
Wed Aug 17 13:57:57 UTC 2011


On Wed, Aug 17, 2011 at 07:13:19PM +0530, Kashyap Chamarthy wrote:
> On 08/17/2011 05:32 PM, Richard W.M. Jones wrote:
> >It would be very simple to modify febootstrap to support ext3 and/or
> >ext4.  (btrfs would definitely NOT be a simple change).  In libguestfs
> >the appliance is added read-only with a disposable overlay on top.
> >Thus journals (a data integrity feature) don't make any sense for us.
> 
> If it's trivial to add newest ext* fs, that's nice. For projects
> we'd like to build appliances, there will be decent I/O ( maybe the
> newest available journaling FS may help..)

I'm a bit busy now, but patches welcome.  Basically it involves
changing the command line argument processing a bit, and passing the
'-t {ext2,ext3,ext4}' flag through to mke2fs.  And testing that it
still works.  See the febootstrap.git helper/ subdirectory,
particularly 'main.c' and 'ext2.c'.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list