[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827718: init: open /dev/console on GNU/kFreeBSD

On Mon, Jun 20, 2016 at 01:12:50PM +0100, Ben Hutchings wrote:
> > FreeBSD kernel doesn't tell PID 1 the pathname of /dev/console
> > through CONSOLE environment variable like Linux does.
> [...]
> The Linux kernel doesn't do that either (unless you put
> CONSOLE=something on the kernel command line).
> It does attach /dev/console to the standard I/O streams of pid 1; is
> the problem here that FreeBSD does not?

Hi Ben

Thanks for the correction.

Yes, FreeBSD does neither pass CONSOLE=something nor attach /dev/console in fds 0,1,2. So the patch is still needed but for a different reason.

Jon Boden

ubuntuBSD -- The power of FreeBSD kernel with familiarity of Ubuntu OS!

http://www.ubuntubsd.org/ -- https://twitter.com/ubuntuBSD

Reply to: