Jiri Kosina changed bug 1181018
What Removed Added
CC   sbrabec@suse.com
Flags needinfo?(jkosina@suse.com) needinfo?(sbrabec@suse.com)

Comment # 18 on bug 1181018 from
opening floppy device node with O_NONBLOCK is asking for all kinds of trouble.
We had the issue with O_NDELAY in the past too, please see e.g. the changelog
of this patch for reference:

  https://git.kernel.org/linus/09954bad448791ef01202351d437abdd9497a804

If the behavior of blkid can't be changed for $reasons, maybe it's time to
really return EWOULDBLOCK from open(/dev/fd0, O_NONBLOCK), but I'd first like
to better understand why all of a sudden O_NONBLOCK is being used for floppy
node?

Thanks.


You are receiving this mail because: