Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Preservation of xattrs is app-dependent? https://news.ycombinator.com/item?id=42807500


Most apps have flags to be used to preserve xattrs. Others were written as though they never knew xattr existed and therefore fail to use the kernel flags to preserve them. But it is not that difficult to preserve them once you are using them.

I use rsync to back up my book, music, and video collections (which is where I use them) and the meta data is backed up with them - so if something ever happens I can always restore them. The xattr commands also have a backup and restore for just the xattr built in.


Could a custom Linux kernel force xattr preservation flags on even for xattr-unaware apps?


Assuming the application used kernel file system calls, I don't see why not.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: