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. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top