On Mon, May 09, 2011 at 03:52:36PM +0200, Werner Fink wrote: > Ensure a proper session on the terminal line, that is do a > vhangup() and become the controlling terminal. After this > determine if the terminal line a virtual console by using > the ioctl TIOCMGET to get the status modem bits of a serial > line which is a invalid argument on a virtual console. Applied, thanks. -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html