https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285394

--- Comment #15 from Gleb Popov <arr...@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.

Reply via email to