Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2004 16:03:28 +1030
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        Trey Sizemore <trey@fastmail.fm>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: My /etc/ttys file has been overwritten
Message-ID:  <200401021603.28788.malcolm.kay@internode.on.net>
In-Reply-To: <3FF4DE97.4040900@fastmail.fm>
References:  <3FF4DE97.4040900@fastmail.fm>

next in thread | previous in thread | raw e-mail | index | archive | help
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 d=
o
> 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



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