On Thu, Apr 08, 2010 at 09:49:26AM +0800, Pengzhen Cao wrote:
Hi All,
Does anybody know how to use the getxattr/setxattr commands in guestfish? It seems not working for ext2/3 filesystem. I did not find the corresponding commands in bash either. So is it for xfs only?
Not just for xfs, this should work for ext2/3 as well. The problem is you cannot just create any xattr. The kernel will only recognize certain xattrs on files, so it's probably best to read the attr(5) manual page first. Can you post some examples of commands you are trying to use? 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