Open the root image O_EXLOCK|O_NONBLOCK and exit with an error message
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 28 May 2007 05:26:29 +0000 (05:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 28 May 2007 05:26:29 +0000 (05:26 +0000)
commit1b40cca700b2ddc5b7d499f2992df9f361c3bccc
treee72345aa6ccb28c8fa6663db5f268ab2cd29c2f5
parenta9968579e06de05e5dfde3c5694e7f0c19f52293
Open the root image O_EXLOCK|O_NONBLOCK and exit with an error message
if the open fails due to e.g. another virtual kernel using the same root
image.

Enable NL->CRNL conversion when we put the console in raw mode.
sys/platform/vkernel/platform/console.c
sys/platform/vkernel/platform/init.c