Re: [BUG] FLOPPY DRIVER since 5.10.20

From
Denis Efremov <efremov@linux.com>
Date
2021-07-26 07:57:54
Also in
lkml
Reply to
Mark Hounschell, 2021-07-23
Hi,

On 7/23/21 9:47 PM, Mark Hounschell wrote:
These 2 incremental patches, patch-5.10.19-20 and patch-5.11.2-3 have broken the user land fd = open("/dev/fd0", (O_RDWR | O_NDELAY)); functionality.
Thank you for the report, I'm looking into this.
Since FOREVER before the patch, when using O_NDELAY, one could open the floppy device with no media inserted or even with write protected media without error. "Read-only file system" status is returned only when we actually tried to write to it. We have software still in use today that relies on this functionality.
If it's a project with open sources could you please give a link?

Regards,
Denis
Thread (13 messages) 13 messages, 6 authors, last reply 2021-08-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help