przemoc / metastore

Store and restore metadata from a filesystem.
http://software.przemoc.net/#metastore
GNU General Public License v2.0
169 stars 31 forks source link

NTFS support #2

Closed Circuitsoft closed 11 years ago

Circuitsoft commented 11 years ago

ntfs-3g stores attributes and ACLs in xattrs that are not enumerated in listxattr. This adds a "-n" option which manually adds those xattrs to be stored in the database.

przemoc commented 11 years ago

Thanks for the effort you put into this, it's appreciated.

Haven't checked it myself yet (sorry, lack of time), so I'll give only some random notes for now after skimming your changes:

(*) I think also that I've committed a sin of being too cautious by duplicating function for -g / --git case without testing whether handling it in the old function was giving any noticeable slow-down.

So I guess that I'll went with passing pointer to some new struct, that will have only .git-related setting member and you'll enhance it with NTFS-related setting and proper handling. But it won't happen now or in upcoming days - sorry!

P.S. Github PRs don't track rebases, thus after rebase you have to send a comment here, because otherwise no one will notice the change.

przemoc commented 11 years ago

@Circuitsoft, I've finally fixed what I mentioned last year. :)

Sorry for the delay. Please rebase your work on top of my master branch according to the tips I gave you last time. Because you'll use a feature branch (supposedly named ntfs-support), you'll have to make a new pull request afterwards. That's why I can close this one anyway.