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

support crtime on ext4 #40

Open
dlqqq opened this issue Oct 28, 2022 · 0 comments
Open

support crtime on ext4 #40

dlqqq opened this issue Oct 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dlqqq
Copy link
Collaborator

dlqqq commented Oct 28, 2022

Right now, out-of-band edits change the modified time of the file, and thus cause a new file ID to be generated when index() is called at that path on ext* filesystems.

A huge improvement would be to leverage the statx() system call available on newer versions of Linux, and store the file creation time, which is preserved on edits. This would allow out-of-band edits to preserve the file ID on ext4 filesystems.

@dlqqq dlqqq added the enhancement New feature or request label Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant