From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 15 23:38:35 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 716B916A4D2 for ; Mon, 15 Jan 2007 23:38:35 +0000 (UTC) (envelope-from ramadas@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id 3443113C465 for ; Mon, 15 Jan 2007 23:38:33 +0000 (UTC) (envelope-from ramadas@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1812337wxc for ; Mon, 15 Jan 2007 15:38:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=pOWs5Wr6SKkiYg5NDkf1YKeqPC7Nmcisza4HJLFoLYggYfkr/Fo5hWIPwZ4h+dtPq6HkCgEf/AIF/ZtJB6BHipv7TuJXpxLCOgR3KmJDsPzeMKI3LpGzVPlGap2f7NtI8vIDq/zslswr17bh1zq2KEX0wa+bLrwa0Uc49LRhCf8= Received: by 10.90.118.12 with SMTP id q12mr3562168agc.1168902568992; Mon, 15 Jan 2007 15:09:28 -0800 (PST) Received: by 10.90.51.16 with HTTP; Mon, 15 Jan 2007 15:09:28 -0800 (PST) Message-ID: Date: Mon, 15 Jan 2007 15:09:28 -0800 From: "Kailas Ramasamy" Sender: ramadas@gmail.com To: freebsd-hackers@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: 7f5eb31111cc4d9f Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Console and Shell X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 23:38:35 -0000 Hi, I would like to understand how the shell is tied to the console port. When an user connects a terminal to the system via console port, a shell is started and tied to the console port (/dev/console ?). Can some someone explain how this whole process works?. It would be great if you can point me the source code and/or the any documents. Thanks Kailas