Removing USB stick returns EIO now, not ENXIO as 14.x
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Sep 2025 08:53:55 UTC
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. -- 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.