KanoComputing / kano-burners

SD Card burner for OSX
GNU General Public License v2.0
12 stars 11 forks source link

Check unmount (osx only) #37

Closed Ealdwulf closed 9 years ago

Ealdwulf commented 9 years ago

@alex5imon This PR adds checking of the unmount call.

I tested it by doing: python

f=open("/Volumes/Untitled/cmdline.txt","w")

Then running the burner. With the file open, it fails to unmount and shows the error.

The fix is applied to OSX and linux, but I only tested OSX. Windows doesn't unmount the disk at all, you might want to ask radu why this is.

Ealdwulf commented 9 years ago

This PR is included in #38 so not needed to merge separately