> -1 seems to be EPERM, is your device write-protected, readonly or > something like that ?
I am able to use ext4 partition read/write, created a file and wrote in it, un/re mounted it, all is ok. The drive only has a microusb port and a little led light; no rw switch or anything like that..