Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2010 11:37:52 +0100
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linux-only jail possible?
Message-ID:  <20100306113752.6d1bec48@ernst.jennejohn.org>
In-Reply-To: <20100305092611.0000772c@unknown>
References:  <201003021325.27197.lists@jnielsen.net> <20100303180636.GA31551@freebsd.org> <20100304114050.00007a59@unknown> <201003041322.57875.lists@jnielsen.net> <20100305092611.0000772c@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Mar 2010 09:26:11 +0100
Alexander Leidinger <Alexander@Leidinger.net> wrote:

> On Thu, 4 Mar 2010 13:22:57 -0500 John Nielsen <lists@jnielsen.net>
> wrote:
> > The "consoletype" utility runs despite this message:
> > linux: pid 2100 (consoletype): ioctl fd=0, cmd=0x541c ('T',28) is not 
> > implemented
> 
> Dokumented in the wiki. If someone knows what ioctl this is, that's
> some info which is needed in the wiki, so feel free to edit the page
> or tell me.
> 

This appears to be TIOCLINUX, which is used in the following Linux kernel
files:

fs/compat_ioctl.c
drivers/char/vt_ioctl.c
drivers/char/tty_io.c
drivers/char/vt.c

The handling of this is in tioclinux() in vt.c and seems to correspond to
FreeBSD's VT code in many respects.  Linux calls it VC for virtual console.

---
Gary Jennejohn (gj@)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100306113752.6d1bec48>