{"action":"created","issue":{"url":"https://api.github.com/repos/m15k/hfuse/issues/3","labels_url":"https://api.github.com/repos/m15k/hfuse/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/m15k/hfuse/issues/3/comments","events_url":"https://api.github.com/repos/m15k/hfuse/issues/3/events","html_url":"https://github.com/m15k/hfuse/pull/3","id":54708817,"number":3,"title":"use struct statvfs instead of struct statfs in the implementation of stafs","user":{"login":"redneb","id":382627,"avatar_url":"https://avatars.githubusercontent.com/u/382627?v=3","gravatar_id":"","url":"https://api.github.com/users/redneb","html_url":"https://github.com/redneb","followers_url":"https://api.github.com/users/redneb/followers","following_url":"https://api.github.com/users/redneb/following{/other_user}","gists_url":"https://api.github.com/users/redneb/gists{/gist_id}","starred_url":"https://api.github.com/users/redneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redneb/subscriptions","organizations_url":"https://api.github.com/users/redneb/orgs","repos_url":"https://api.github.com/users/redneb/repos","events_url":"https://api.github.com/users/redneb/events{/privacy}","received_events_url":"https://api.github.com/users/redneb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-18T20:25:49Z","updated_at":"2015-01-18T20:27:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/m15k/hfuse/pulls/3","html_url":"https://github.com/m15k/hfuse/pull/3","diff_url":"https://github.com/m15k/hfuse/pull/3.diff","patch_url":"https://github.com/m15k/hfuse/pull/3.patch"},"body":"I am having problems with some applications regarding the free space of an HFuse volume. For example, nautilus-3.12.2 reports as the free space being 0 and issues warning every time I try to copy files. `df` on the other hand reports the free space correctly. This appears to be an `HFuse` bug. According to the fuse documentation, the fuse `statfs` uses the `struct statvfs` instead of `struct statfs` since version 2.5. I updated `HFuse` to use that struct and now everything works fine. Additionally I removed the `ifndef MACFUSE` for the `f_namelen` member because it appears that Mac OS X has a `f_namemax` member in `struct statvfs`.\r\n\r\nI've only tested this on linux. I think it should be tested on Mac OS X before it gets merged."},"comment":{"url":"https://api.github.com/repos/m15k/hfuse/issues/comments/70424257","html_url":"https://github.com/m15k/hfuse/pull/3#issuecomment-70424257","issue_url":"https://api.github.com/repos/m15k/hfuse/issues/3","id":70424257,"user":{"login":"redneb","id":382627,"avatar_url":"https://avatars.githubusercontent.com/u/382627?v=3","gravatar_id":"","url":"https://api.github.com/users/redneb","html_url":"https://github.com/redneb","followers_url":"https://api.github.com/users/redneb/followers","following_url":"https://api.github.com/users/redneb/following{/other_user}","gists_url":"https://api.github.com/users/redneb/gists{/gist_id}","starred_url":"https://api.github.com/users/redneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redneb/subscriptions","organizations_url":"https://api.github.com/users/redneb/orgs","repos_url":"https://api.github.com/users/redneb/repos","events_url":"https://api.github.com/users/redneb/events{/privacy}","received_events_url":"https://api.github.com/users/redneb/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T20:27:00Z","updated_at":"2015-01-18T20:27:00Z","body":"BTW, can you enable the issue tracker for this repository? It's nice to have a place where bugs can be reported."}}