Re: ttydev_cdevsw has no d_purge

看板FB_current作者時間13年前 (2012/08/02 20:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/28 (看更多)
In message <CAJOYFBBbskRbXjKZdv-JgHi4vJgW0S0N2DGvZgm5_oDWcY65ig@mail.gmail.com> , Ed Schouten writes: >2012/8/2 Julian Elischer <julian@freebsd.org>: TTYs are used *two* ways: As terminals and as comms to the real world. If a terminal-tty disappears, it should be handled like a HUP would be, analytically it is the exact same situation as a carrier drop on a modem. The implementation may need to do tricky stuff, but the result should be exactly like a HUP seen from userland. If a comms-tty disappears, it should be handled like any other disappearing device: ENXIO. -- 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. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1G6dD2Nb (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1G6dD2Nb (FB_current)