On Sat, Mar 26, 2011 at 4:43 AM, Richard W.M. Jones
On Sat, Mar 26, 2011 at 07:51:16AM +0000, Richard W.M. Jones wrote:If it's ever unclear what libguestfs API calls are being made
> On Fri, Mar 25, 2011 at 10:35:04PM +0000, Richard W.M. Jones wrote:
> > On Fri, Mar 25, 2011 at 06:17:46PM -0400, Sumedh Degaonkar wrote:
> > > Hello,
> > >
> > > I have a vmdk having an LV with an ext3 FS where some files have extended
> > > attributes and acls set.
> > > These do not appear set while accessing them when mounted using guestmount.
> > > I do not know if it is easy or difficult to implement this, so I'd like to
> > > take your opinion.
> > >
> > > what I did was changed the default mount options in daemon/mount.c from "ro"
> > > to "ro,acl,user_xattr". I figure that with this change, the filesystem will
> > > be mounted with these options inside the appliance.
> Sorry, the above is actually not going to work. guestmount
> calls guestfs_mount_options, so you would have to modify
> fish/options.c:mount_mps instead.
by guestmount (or other programs) you can set
before running the program. See http://libguestfs.org/FAQ.html#debug
Specifically for guestmount you can also get a lot more other debug by
adding the -x or --trace option.
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org