[Bug 241559] cat(1) endless loop when writing to special device file
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 29 02:09:04 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241559
--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
Unfortunately write() => 0 has no special semantics in POSIX or FreeBSD. It
just means partial progress / no error. (So I don't think the proposed change
to cat is correct.) This interacts poorly with block devices in FreeBSD, which
may truncate IO silently at end of device so long as the offset is in-bounds.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list