Re: Removing USB stick returns EIO now, not ENXIO as 14.x
Date: Tue, 23 Sep 2025 09:13:03 UTC
-------- Poul-Henning Kamp writes: > On CURRENT and 15.0-ALPHA2, pulling a USB-stick out returns EIO instead of= > ENXIO > > Easy way to test: > > # plug usb-stick in > recoverdisk -v /dev/da0 > # pull usb-stick out > > On 14.3 we, correctly, get ENXIO and recoverdisk(1) terminates. > > On 16.0-CURRENT and 15.0-ALPHA2 we, wrongly, get EIO, despite > the "umass0: detached" message in /var/log/messages. Ticket: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289785 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.