Summary: | snp(4) manual page is out of sync with the device implementation | ||||||
---|---|---|---|---|---|---|---|
Product: | Documentation | Reporter: | Bertrand Petit <bsdpr> | ||||
Component: | Manual Pages | Assignee: | Konstantin Belousov <kib> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | bsdpr, doc, felix.the.red, kib | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Bertrand Petit
2021-08-20 09:19:02 UTC
Created attachment 228305 [details]
snp(4) patch
Document that:
- snp(4) can only handle egress streams (ones that originate from the host)
- The FIONREAD ioctl no longer returns special values,
move them to the HISTORY section
- Device disappearance, closure, or detachment will result
in EIO or ENXIO from read(2) or write(2) calls
- Flow control is not supported, under BUGS
See https://reviews.freebsd.org/D36690 WRT FIONREAD A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bb4be76cf358246ef04ea8a67f38ff2a25b6c580 commit bb4be76cf358246ef04ea8a67f38ff2a25b6c580 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-09-24 20:23:31 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-09-25 20:36:16 +0000 snp(4): properly report detached/revoked ttys PR: 257964 Reported by: Bertrand Petit <bsdpr@phoe.frmug.org> Reviewed by: imp, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D36690 share/man/man4/snp.4 | 8 ++------ sys/dev/snp/snp.c | 7 +++++-- 2 files changed, 7 insertions(+), 8 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=550e01c552474babae468011191ecc5130cc153e commit 550e01c552474babae468011191ecc5130cc153e Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-09-25 11:34:17 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-09-25 20:36:16 +0000 snp(4): implement detach PR: 257964 Reported by: Bertrand Petit <bsdpr@phoe.frmug.org> Reviewed by: imp, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D36690 share/man/man4/snp.4 | 6 ------ sys/dev/snp/snp.c | 15 +++++++++++++-- 2 files changed, 13 insertions(+), 8 deletions(-) A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ff1993be35d643a55c00d301628bfe1bfaeeffc4 commit ff1993be35d643a55c00d301628bfe1bfaeeffc4 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-09-25 11:34:17 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-10-02 00:51:47 +0000 snp(4): implement detach PR: 257964 (cherry picked from commit 550e01c552474babae468011191ecc5130cc153e) share/man/man4/snp.4 | 6 ------ sys/dev/snp/snp.c | 15 +++++++++++++-- 2 files changed, 13 insertions(+), 8 deletions(-) A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=40860e6bf2221efb3840b380d6b5d6f3f768a633 commit 40860e6bf2221efb3840b380d6b5d6f3f768a633 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-09-24 20:23:31 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-10-02 00:51:47 +0000 snp(4): properly report detached/revoked ttys PR: 257964 (cherry picked from commit bb4be76cf358246ef04ea8a67f38ff2a25b6c580) share/man/man4/snp.4 | 8 ++------ sys/dev/snp/snp.c | 7 +++++-- 2 files changed, 7 insertions(+), 8 deletions(-) ^Triage: assign to committer that resolved. |