Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme file request - why this python xattr rather than attr package's getfattr/setfattr etc? #102

Closed
akira-kurogane opened this issue Apr 28, 2022 · 2 comments

Comments

@akira-kurogane
Copy link
Contributor

Hi. I was reinstalling a cmdline tool to manually check the extended filesystem attributes in some datastore thing I was I developing.

I'd forgotten what the command was called however. Googling for "xattr" takes you all over the place. A lot of people who are searching for the right linux man page will end up here instead.

What I wanted, when I finally found them, were the getfattr, setfattr in the attr package. That's the shortest distance between the commandline user (me) and using the setxattr, getxattr, listxattr and removexattr syscalls.

But I'm curious as to what the purpose of this packaged python script is. Is it that getfattr etc. isn't available on OSX even though it also supports extended filesystem attributes? (with quirks?)

And could that please be put in the README.md?

@etrepum
Copy link
Member

etrepum commented Apr 28, 2022

Those tools were not available on macOS at the time. Not sure if they are now or not, but Apple actually shipped this tool with macOS until recently.

A PR to add the sort of information you'd like to see would be the quickest way to get this done, I'd be happy to review and merge.

@akira-kurogane
Copy link
Contributor Author

Thanks Bob. Sounds good to me. I've created a PR which is has become issue #103. I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants