Thanks Richard!<div><br></div><div>Appreciate your time. I will try this and let you know how it goes.</div><div><br></div><div>-Sumedh<br><div><br><div class="gmail_quote">On Sat, Mar 26, 2011 at 4:43 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sat, Mar 26, 2011 at 07:51:16AM +0000, Richard W.M. Jones wrote:<br>
> On Fri, Mar 25, 2011 at 10:35:04PM +0000, Richard W.M. Jones wrote:<br>
> > On Fri, Mar 25, 2011 at 06:17:46PM -0400, Sumedh Degaonkar wrote:<br>
> > > Hello,<br>
> > ><br>
> > > I have a vmdk having an LV with an ext3 FS where some files have extended<br>
> > > attributes and acls set.<br>
> > > These do not appear set while accessing them when mounted using guestmount.<br>
> > > I do not know if it is easy or difficult to implement this, so I'd like to<br>
> > > take your opinion.<br>
> > ><br>
> > > what I did was changed the default mount options in daemon/mount.c from "ro"<br>
> > > to "ro,acl,user_xattr". I figure that with this change, the filesystem will<br>
> > > be mounted with these options inside the appliance.<br>
><br>
> Sorry, the above is actually not going to work.  guestmount<br>
> calls guestfs_mount_options, so you would have to modify<br>
> fish/options.c:mount_mps instead.<br>
<br>
</div>If it's ever unclear what libguestfs API calls are being made<br>
by guestmount (or other programs) you can set<br>
<br>
export LIBGUESTFS_TRACE=1<br>
<br>
before running the program.  See <a href="http://libguestfs.org/FAQ.html#debug" target="_blank">http://libguestfs.org/FAQ.html#debug</a><br>
<br>
Specifically for guestmount you can also get a lot more other debug by<br>
adding the -x or --trace option.<br>
<div class="im"><br>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div>libguestfs lets you edit virtual machines.  Supports shell scripting,<br>
bindings from many languages.  <a href="http://libguestfs.org" target="_blank">http://libguestfs.org</a><br>
</blockquote></div><br></div></div>