{"action":"created","issue":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/279","repository_url":"https://api.github.com/repos/dokan-dev/dokany","labels_url":"https://api.github.com/repos/dokan-dev/dokany/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/dokan-dev/dokany/issues/279/comments","events_url":"https://api.github.com/repos/dokan-dev/dokany/issues/279/events","html_url":"https://github.com/dokan-dev/dokany/issues/279","id":163889081,"number":279,"title":"java can't get dokan disk capacity","user":{"login":"skyjally","id":9696323,"avatar_url":"https://avatars.githubusercontent.com/u/9696323?v=3","gravatar_id":"","url":"https://api.github.com/users/skyjally","html_url":"https://github.com/skyjally","followers_url":"https://api.github.com/users/skyjally/followers","following_url":"https://api.github.com/users/skyjally/following{/other_user}","gists_url":"https://api.github.com/users/skyjally/gists{/gist_id}","starred_url":"https://api.github.com/users/skyjally/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyjally/subscriptions","organizations_url":"https://api.github.com/users/skyjally/orgs","repos_url":"https://api.github.com/users/skyjally/repos","events_url":"https://api.github.com/users/skyjally/events{/privacy}","received_events_url":"https://api.github.com/users/skyjally/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dokan-dev/dokany/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dokan-dev/dokany/labels/Informations%20required","name":"Informations required","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-05T16:14:03Z","updated_at":"2016-07-24T09:41:54Z","closed_at":null,"body":"Feature request can skip this form. Bug report **must** complete it. `Check List` must be 100% match or it will be automatically closed without further discussion. Please remove this line.\r\n\r\n# Environment\r\n * Windows version: Windows 7\r\n * Processor architecture: x64\r\n * Dokany version:  0.6.0\r\n * Library type (Dokany/FUSE): DoKany\r\n \r\n# Check List\r\n  - [ ] I checked my issue [doesn't exist yet](https://github.com/dokan-dev/dokany/issues?utf8=%E2%9C%93&q=is%3Aissue)\r\n  - [ ] My issue is valid with mirror default sample and not specific to my user-mode driver implementation\r\n  - [ ] I can always reproduce the issue with the provided description below.\r\n  - [ ] I have updated Dokany to the latest version (https://github.com/dokan-dev/dokany/releases) and have reboot my computer after.\r\n\r\n# Description\r\nIn version 0.6.0 I use java to get disk capacity but I can't get the right results. \r\nIs there other way to get right results in version 0.6.0 or l must update to 1.0.0?\r\nhere is java file to get disk total capacity and free space but the results zero\r\nimport java.io.File;  \r\n  \r\npublic class FreeDiskSpace {  \r\n  \r\n    public static void main(String[] args) {  \r\n        File file = new File(\"E:\");  \r\n        long totalSpace = file.getTotalSpace();  \r\n        long freeSpace = file.getFreeSpace();  \r\n        long usedSpace = totalSpace - freeSpace;  \r\n  \r\n        System.out.println(\"total : \" + totalSpace / 1024 / 1024 / 1024 + \"G\");  \r\n        System.out.println(\"free : \" + freeSpace / 1024 / 1024 / 1024 + \"G\");  \r\n        System.out.println(\"used : \" + usedSpace / 1024 / 1024 / 1024 + \"G\");  \r\n    }  \r\n  \r\n} \r\n\r\nresults：\r\ntotal：0\r\nfree： 0\r\nused：0\r\n\r\nbut if I use path “E:\\\\xx” (“xx”  is a subdirectories) I can get the right results\r\n                                                                                                         Thanks\r\n\r\nps: jdk version is 1.8.0_73-b02 or 1.6\r\n# Logs\r\nPlease attach in separate files: mirror output, library logs and kernel [logs](https://github.com/dokan-dev/dokany/wiki/How-to-Debug-Dokan).\r\nIn case of BSOD, please attach minidump or dump analyze output.\r\nDokan works normal and the log looks like mormal. I can't find any error"},"comment":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/comments/234767681","html_url":"https://github.com/dokan-dev/dokany/issues/279#issuecomment-234767681","issue_url":"https://api.github.com/repos/dokan-dev/dokany/issues/279","id":234767681,"user":{"login":"marinkobabic","id":3265080,"avatar_url":"https://avatars.githubusercontent.com/u/3265080?v=3","gravatar_id":"","url":"https://api.github.com/users/marinkobabic","html_url":"https://github.com/marinkobabic","followers_url":"https://api.github.com/users/marinkobabic/followers","following_url":"https://api.github.com/users/marinkobabic/following{/other_user}","gists_url":"https://api.github.com/users/marinkobabic/gists{/gist_id}","starred_url":"https://api.github.com/users/marinkobabic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinkobabic/subscriptions","organizations_url":"https://api.github.com/users/marinkobabic/orgs","repos_url":"https://api.github.com/users/marinkobabic/repos","events_url":"https://api.github.com/users/marinkobabic/events{/privacy}","received_events_url":"https://api.github.com/users/marinkobabic/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T09:41:54Z","updated_at":"2016-07-24T09:41:54Z","body":"At the end it calls  GetDiskFreeSpaceEx\r\n\r\nhttp://ikvm.sourcearchive.com/documentation/0.38.0.2plus-pdfsg-2/openjdk_8cs-source.html\r\n"}}
{"actor":{"display_login":"marinkobabic"}}