-
Notifications
You must be signed in to change notification settings - Fork 164
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
Incorrect file sizes... #421
Comments
Here is another one: [briemers@media1 ~]$ du -sb ~/acd/encfs/0XATOdlxBZ09mineTkP,pG1N/0DNCSQ4sBvfuz9YYru2pnJFI/TXJeuVb3y6nPDiGa1O-G,izhVVGB3sAtL5WE8mgUD2jU7, Looks like the pattern is if one asks for the number of bytes the correct results are returned. But number of kilobytes is always 0. This likely means the fstat always returns the 0 for the number of blocks... |
Yes. it is the getattr call in acd_fuse.py:
**times) This is not returning values for most of the stat structure...
If it at least return st_blksize and st_blocks then at least commands like du, and ls would report these values correctly. |
I submitted a pull request for both the master and the dev branch. I only have the master branch installed... |
This is interesting:
$ ls -la ~/acd/encfs/0XATOdlxBZ09mineTkP,pG1N/0DNCSQ4sBvfuz9YYru2pnJFI/TXJeuVb3y6nPDiGa1O-G,izhVVGB3sAtL5WE8mgUD2jU7,
-rwxrwxr-x 1 briemers briemers 3204427784 Sep 23 03:44 /home/remote/briemers/acd/encfs/0XATOdlxBZ09mineTkP,pG1N/0DNCSQ4sBvfuz9YYru2pnJFI/TXJeuVb3y6nPDiGa1O-G,izhVVGB3sAtL5WE8mgUD2jU7,
$ ls -s ~/acd/encfs/0XATOdlxBZ09mineTkP,pG1N/0DNCSQ4sBvfuz9YYru2pnJFI/TXJeuVb3y6nPDiGa1O-G,izhVVGB3sAtL5WE8mgUD2jU7,
0 /home/remote/briemers/acd/encfs/0XATOdlxBZ09mineTkP,pG1N/0DNCSQ4sBvfuz9YYru2pnJFI/TXJeuVb3y6nPDiGa1O-G,izhVVGB3sAtL5WE8mgUD2jU7,
$ du -sk ~/acd/encfs/0XATOdlxBZ09mineTkP,pG1N/0DNCSQ4sBvfuz9YYru2pnJFI/TXJeuVb3y6nPDiGa1O-G,izhVVGB3sAtL5WE8mgUD2jU7,
0 /home/remote/briemers/acd/encfs/0XATOdlxBZ09mineTkP,pG1N/0DNCSQ4sBvfuz9YYru2pnJFI/TXJeuVb3y6nPDiGa1O-G,izhVVGB3sAtL5WE8mgUD2jU7,
So depending on the commandline parameters are used, a different file size is returned... This could be one of the things that causes rsync to sometimes freeze-up, depending on what commandline options are used...
The text was updated successfully, but these errors were encountered: