{"action":"created","issue":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/465","repository_url":"https://api.github.com/repos/dokan-dev/dokany","labels_url":"https://api.github.com/repos/dokan-dev/dokany/issues/465/labels{/name}","comments_url":"https://api.github.com/repos/dokan-dev/dokany/issues/465/comments","events_url":"https://api.github.com/repos/dokan-dev/dokany/issues/465/events","html_url":"https://github.com/dokan-dev/dokany/issues/465","id":210367475,"number":465,"title":"Drive fails to mount on fuse-bindings example.js when contents are specified","user":{"login":"samkelly","id":1855021,"avatar_url":"https://avatars0.githubusercontent.com/u/1855021?v=3","gravatar_id":"","url":"https://api.github.com/users/samkelly","html_url":"https://github.com/samkelly","followers_url":"https://api.github.com/users/samkelly/followers","following_url":"https://api.github.com/users/samkelly/following{/other_user}","gists_url":"https://api.github.com/users/samkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/samkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samkelly/subscriptions","organizations_url":"https://api.github.com/users/samkelly/orgs","repos_url":"https://api.github.com/users/samkelly/repos","events_url":"https://api.github.com/users/samkelly/events{/privacy}","received_events_url":"https://api.github.com/users/samkelly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":82,"created_at":"2017-02-27T01:31:09Z","updated_at":"2017-03-09T23:54:24Z","closed_at":null,"body":"# Environment\r\n * Windows version: Windows 10 Pro (Virtualbox VM)\r\n * Processor architecture: x64\r\n * Dokany version: 1.0.2\r\n * Library type (Dokany/FUSE): FUSE via node.js `fuse-bindings` package (https://github.com/mafintosh/fuse-bindings)\r\n \r\n# Check List\r\n  - [X] I checked my issue [doesn't exist yet](https://github.com/dokan-dev/dokany/issues?utf8=%E2%9C%93&q=is%3Aissue)\r\n  - [X] My issue is valid with mirror default sample and not specific to my user-mode driver implementation\r\n  - [X] I can always reproduce the issue with the provided description below.\r\n  - [X] I have updated Dokany to the [latest version](https://github.com/dokan-dev/dokany/releases) and have reboot my computer after.\r\n  - [x] I tested one of the last [snapshot](https://github.com/dokan-dev/dokany/wiki/Build#user-snapshot) from appveyor CI\r\n\r\n# Description\r\n\r\nUsing the default example from https://github.com/mafintosh/fuse-bindings/blob/master/example.js, with the `gid` and `uid` parameters excluded (since `process.getgid()` and `process.getuid()` are unsupported on windows and I have been unable to find a way of specifying the windows SID equivalents via Node), dokany will fail to mount. It works if I leave the drive empty, but the second I uncomment the line creating the 'test' contents (`if(path === '/') return cb(0, ['test'])`), it will fail, though no BSOD occurs. At least one other user is experiencing this identical issue. Issue on fuse-bindings: https://github.com/mafintosh/fuse-bindings/issues/40.\r\n\r\n# Logs\r\n\r\nFull kernel debug output: http://pastebin.com/raw/A7p7EqhZ\r\n\r\nI will gladly provide additional output, just tell me what to do!"},"comment":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/comments/285523728","html_url":"https://github.com/dokan-dev/dokany/issues/465#issuecomment-285523728","issue_url":"https://api.github.com/repos/dokan-dev/dokany/issues/465","id":285523728,"user":{"login":"marinkobabic","id":3265080,"avatar_url":"https://avatars3.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":"2017-03-09T23:54:24Z","updated_at":"2017-03-09T23:54:24Z","body":"@samkelly \r\nFor the free space just add the following callback to your java script\r\n```\r\nstatfs: function (path, cb) {\r\n\t  console.log('statfs(%s)', path)\r\n\t  cb(0, {\r\n\t\tbsize: 1000000,\r\n\t\tfrsize: 1000000,\r\n\t\tblocks: 1000000,\r\n\t\tbfree: 1000000,\r\n\t\tbavail: 1000000,\r\n\t\tfiles: 1000000,\r\n\t\tffree: 1000000,\r\n\t\tfavail: 1000000,\r\n\t\tfsid: 1000000,\r\n\t\tflag: 1000000,\r\n\t\tnamemax: 1000000\r\n\t  })\r\n  }\r\n```"}}
{"actor":{"display_login":"marinkobabic"}}