Skip to content

Could not write to device, result == -1 errno 0 null #237

Open
@kuza2010

Description

@kuza2010

Hi, @magnusja
Libaums version 0.7.3

Hardware devices:

  • usb device 1: SanDisk dual-drive 128Gb with Fat32, 32/64 Kb cluster size;
  • usb device 2: JetFlash 8Gb with Fat32, 32/4 Kb cluster size;
  • android version 9(Samsung Galaxy S10e)/8(Xiaomi Redmi 5 Plus)

Problem

I try to copy about 1000 mixed size/type files (total size 2 Gb).

Expected behavior

Files were copied correctly.

Actual behavior

java.io.IOException: Could not write to device, result == -1 errno 0 null

Stacktrace of Excpetion

image

Code where problem occurs

UsbFileOutputStream.write(bytes);

Any hints!

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions