3 ms·
Preservation of xattrs is app-dependent? https://news.ycombinator.com/item?id=42807500 https://news.ycombinator.com/item?id=42807500
by walterbell 2y ago
Preservation of xattrs is app-dependent? https://news.ycombinator.com/item?id=42807500 https://news.ycombinator.com/item?id=42807500
- keernan 2y agoMost 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.
- walterbell 2y agoCould a custom Linux kernel force xattr preservation flags on even for xattr-unaware apps?
- keernan 2y agoAssuming the application used kernel file system calls, I don't see why not.