-
Notifications
You must be signed in to change notification settings - Fork 221
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
Implement File modified time #95
Comments
File modification time is already available. Isn't it ? You should see last modified time of the blob when you list files. One exception is when you open a file, then you will start seeing the time when the file got downloaded to your machine because you are essentially working on a copy of the blob on your machine until you close the file. |
Hello and thank you for your great job. ls -latr command output issued by root is like: -rwxrwx--- 1 root root 858680 gen 1 1970 FILE1.zip |
Oh you are right. I was confused. We implemented timestamp support in this PR #29 but never merged... We should implement this. |
I have implemented this in PR #102 - I am not sure if this PR will make to a release, but test and let us know here. One caveat is that files timestamps are retrieved from Blob Last-Modified time, however for directories there is no last-modified time on Blob storage. So I am showing the time of list operation for directories. |
Hi @seguler / all, I will test it during tomorrow and share results. As per your description this is what we are looking for. Our use case is: We are using Blobstorage as backend/storage for FTP solution. In some cases we need attributes to know which files (luckily not directories) are new (since 'last time') for processing pipeline (Hello Biztalk). Thank you, |
Hi all, The attributes are showing correctly. Thanks @seguler
1970 is gone (#95 (comment)). We will await merge / release. Huge Thanks! |
This makes sense! I'll look into the feasibility in the code |
So - I wanna leave the directory timestamps to later... Currently we do not check the existence of .directory file and instead do list_blobs with the prefix to determine if a directory exists or not. Because of this, the code is not very suitable to report the directory timestamps at the moment. Will keep this issue open until we figure out a way to report directory timestamps properly. |
I'll close this as File modified time is implemented in blobfuse 0.3. Will open another one for directory timestamps. |
@seguler is there a PR open for the directory timestamp? |
Thanks for making the fuse driver.
Any chance to provide some update about 'if' and 'when' the attributes will be available ? What is the plan ?
We are particularly interested in file modification time.
Thank you!
The text was updated successfully, but these errors were encountered: