https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289785

            Bug ID: 289785
           Summary: Umass: Unplugging usb stick returns EIO instead of
                    ENXIO
           Product: Base System
           Version: 15.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Up until 14.3 we correctly return ENXIO when a USB stick is pulled while open.

In 15.0-ALPHA2 and 16.0-CURRENT we return EIO

To test:

    # plug in usb-stick
    recoverdisk -v /dev/da0
    # pull usb-stick out

On 14.3 the next read returns ENXIO causing recoverdisk to terminate

On 15.0-ALPHA and 16.0-CURRENT reads return EIO and recoverdisk continues.

I will leave it to re@ to decide if this is a 15.0 showstopper.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to