From owner-freebsd-questions@FreeBSD.ORG Fri Jan 2 06:05:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA95816A4CE for ; Fri, 2 Jan 2004 06:05:40 -0800 (PST) Received: from qsmtp5.america.net (qsmtp5.america.net [69.60.160.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2FC443D46 for ; Fri, 2 Jan 2004 06:05:39 -0800 (PST) (envelope-from trey@fastmail.fm) Received: from [65.82.45.189] (helo=fastmail.fm) by qsmtp5.america.net with esmtp (Exim 4.10) id 1AcPvn-0004J9-00 for freebsd-questions@freebsd.org; Fri, 02 Jan 2004 09:05:39 -0500 Message-ID: <3FF57C00.1020002@fastmail.fm> Date: Fri, 02 Jan 2004 09:11:12 -0500 From: Trey Sizemore User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions References: <3FF4DE97.4040900@fastmail.fm> <200401021603.28788.malcolm.kay@internode.on.net> In-Reply-To: <200401021603.28788.malcolm.kay@internode.on.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: My /etc/ttys file has been overwritten X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 14:05:40 -0000 Malcolm Kay wrote: >On Fri, 2 Jan 2004 13:29, Trey Sizemore wrote: > > >>I edited my /etc/ttys file in Easy Editor and then saved and exited (or >>so I thought) to enable kdm. When I rebooted, my machine would hang. I >>went back into /etc/ttys and noticed that the file is now empty!! >> >>What is the best way to replace the file. I'm not aware of a default >>file anywhere. Will I have to manually recreate it, and if so, where do >>I get the data? >> >> >> > ># find /usr/src -name ttys >yields: > /usr/src/etc/etc.alpha/ttys >and > /usr/src/etc/etc.i386/ttys > >I imagine the latter is what you want ;-) > >Malcolm Kay > > Thanks, Malcolm.