[Bug 285394] sysutils/consolekit2 seems to use wrong tty
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 285394] sysutils/consolekit2 seems to use wrong tty"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Mar 2025 11:43:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285394 --- Comment #15 from Gleb Popov <arrowd@FreeBSD.org> --- /dev/console seems to be a correct choice. If I read this code correctly [1], opening /dev/console results in opening something from the list of available consoles, which may contain ttyvX as well. Judging from the "conscontrol list" output, it seems that opening /dev/ttyv0 and /dev/console should give the same results. I have not yet figured out what's /dev/tty and what creates it, though. [1] https://github.com/freebsd/freebsd-src/blob/5682eee1efd35fb65751641181ae2a50d86efaab/sys/kern/tty.c#L2218 -- You are receiving this mail because: You are the assignee for the bug.