Dear Szaka, dear list, I'm building an application that uses ntfs-3g in order to synchronize data on two ntfs-3g filesystems, mounted with the ntfs-3g experimental branch (http://pagesperso-orange.fr/b.andre/download-tarball.html#ntfs-3g-2009.4.4AC.15.tgz) which supports xattrs (enabled in ./configure).
The initial copy of the filesystems is done partition-wise, to catch all "immoveable" data such as partition record and maybe anything else that cannot be handled file-wise yet. A later update of the filesystem should be done by rsync, taking into account all extended attributes, and including system.ntfs_attrib and system.ntfs_acl. These are probably the only important xattrs we need, btw. They can be successfully transferred using the getfattr and setfattr commands, so in general, xattr supports seems to work. rsync has an --xattr flag, which should copy all xattrs automatically. Now there ar two problems: 1. rsync never copies the system.* attributes. I already changed that behaviour in rsync for my project, so that part is working. 2. getfattr -d filename fails to get the list of xattrs with ntfs-3g. For this reason, my patched rsync does not find the xattrs, and does not even attempt to copy them. I'm now stuck at finding out why ntfs-3g does have a listxattrs function that does not do what I expect. I found a few places in the source that seem to remap system xattrs to a different name, but none of them explains the problem why NO extended attributes are listed, I even commented out the part in fixattrs that is supposed to change system.* to ntfs-3g.* and it did not change anything. Can you please point me in the right direction? How can I make the ntfs-3gs listattr function to actually produce a list of xattrs? Directly listing a specific xattr, for example with getfattr -R -h -e hex -d -n "system.ntfs_attrib" filename, works. Just listing all xattr names doesn't. Regards -Klaus ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
