{"action":"closed","issue":{"url":"https://api.github.com/repos/resin-io/etcher/issues/574","repository_url":"https://api.github.com/repos/resin-io/etcher","labels_url":"https://api.github.com/repos/resin-io/etcher/issues/574/labels{/name}","comments_url":"https://api.github.com/repos/resin-io/etcher/issues/574/comments","events_url":"https://api.github.com/repos/resin-io/etcher/issues/574/events","html_url":"https://github.com/resin-io/etcher/issues/574","id":165987950,"number":574,"title":"Disk auto-mounts partway through validation on Xubuntu 16.04","user":{"login":"tprk77","id":896591,"avatar_url":"https://avatars.githubusercontent.com/u/896591?v=3","gravatar_id":"","url":"https://api.github.com/users/tprk77","html_url":"https://github.com/tprk77","followers_url":"https://api.github.com/users/tprk77/followers","following_url":"https://api.github.com/users/tprk77/following{/other_user}","gists_url":"https://api.github.com/users/tprk77/gists{/gist_id}","starred_url":"https://api.github.com/users/tprk77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tprk77/subscriptions","organizations_url":"https://api.github.com/users/tprk77/orgs","repos_url":"https://api.github.com/users/tprk77/repos","events_url":"https://api.github.com/users/tprk77/events{/privacy}","received_events_url":"https://api.github.com/users/tprk77/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/resin-io/etcher/labels/platform:linux","name":"platform:linux","color":"fbca04"},{"url":"https://api.github.com/repos/resin-io/etcher/labels/ready","name":"ready","color":"ededed"},{"url":"https://api.github.com/repos/resin-io/etcher/labels/type:bug","name":"type:bug","color":"e11d21"},{"url":"https://api.github.com/repos/resin-io/etcher/labels/waiting%20pr","name":"waiting pr","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-17T18:04:00Z","updated_at":"2016-08-23T14:43:05Z","closed_at":"2016-08-23T14:43:05Z","body":"- **Etcher version:** 1.0.0-beta.10\r\n- **Operating system and architecture:** Xubuntu 16.04, 4.4.0-31-generic, x86-64\r\n- **Do you see any meaningful error information on DevTools?** No\r\n\r\nTrying to work around #573, I switched over to Linux and a different card writer. I've noticed that on this system, after the write finishes, the partitions auto-mount and pop-up the file manager. This happens partway through the validation phase, which I believe is causing it to fail. (So far, validation always fails on this machine.)\r\n\r\nI think the auto-mount is changing the disk, because I can do the same thing with `dd` and see the checksum change. For example:\r\n\r\n```\r\nt@comp:~/t$ sudo dd bs=4M if=ev3-ev3dev-jessie-2015-12-30.img of=/dev/sdd\r\n450+0 records in\r\n450+0 records out\r\n1887436800 bytes (1.9 GB, 1.8 GiB) copied, 162.548 s, 11.6 MB/s\r\n450+0 records in\r\n450+0 records out\r\n1887436800 bytes (1.9 GB, 1.8 GiB) copied, 162.548 s, 11.6 MB/s\r\nt@comp:~/t$ sync\r\nt@comp:~/t$ md5sum ev3-ev3dev-jessie-2015-12-30.img\r\n4d25e323fbde509c9d5869cf77a513cc  ev3-ev3dev-jessie-2015-12-30.img\r\nt@comp:~/t$ sudo dd bs=4M if=/dev/sdd count=450 | md5sum\r\n450+0 records in\r\n450+0 records out\r\n1887436800 bytes (1.9 GB, 1.8 GiB) copied, 85.9326 s, 22.0 MB/s\r\n4d25e323fbde509c9d5869cf77a513cc  -\r\nt@comp:~/t$ # Reinsert locked card, auto-mount\r\nt@comp:~/t$ sudo dd bs=4M if=/dev/sdd count=450 | md5sum\r\n450+0 records in\r\n450+0 records out\r\n1887436800 bytes (1.9 GB, 1.8 GiB) copied, 85.7719 s, 22.0 MB/s\r\n4d25e323fbde509c9d5869cf77a513cc  -\r\nt@comp:~/t$ # Reinsert unlocked card, auto-mount\r\nt@comp:~/t$ sudo dd bs=4M if=/dev/sdd count=450 | md5sum\r\n450+0 records in\r\n450+0 records out\r\n1887436800 bytes (1.9 GB, 1.8 GiB) copied, 85.7621 s, 22.0 MB/s\r\n3a0b5857c817bb97028b6aceea4a22fb  -\r\nt@comp:~/t$ \r\n```\r\n\r\n<!-- You can open DevTools by pressing `Ctrl+Alt+I`, or `Cmd+Alt+I` if you're running OS X. -->\r\n"}}
{"actor":{"display_login":"jviotti"}}