*BSD News Article 40799


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!yarrina.connect.com.au!news.mira.net.au!news.netspace.net.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!ames!hookup!newshost.marcam.com!news.mathworks.com!zombie.ncsc.mil!cs.umd.edu!mojo.eng.umd.edu!state.eng.umd.edu!chuckr
From: chuckr@glue.umd.edu (Charles B. Robey)
Newsgroups: comp.os.386bsd.questions
Subject: Re: What happened to /etc/inittab?
Date: 12 Jan 1995 23:24:23 GMT
Organization: Project GLUE, University of Maryland, College Park, MD
Lines: 26
Message-ID: <3f4dn7$2og@mojo.eng.umd.edu>
References: <clintdw-0401950111260001@d61.net.interaccess.com>
NNTP-Posting-Host: state.eng.umd.edu
X-Newsreader: TIN [version 1.2 PL1]

Clinton Wong (clintdw@interaccess.com) wrote:
: I'm trying to set up a terminal on FreeBSD 2.0 and the first thing I
: noticed is that /etc/inittab no longer exists.  What file replaces
: the functionality of /etc/inittab?...  (I'm looking for the part
: that runs getty with respawn)

This drove me nuts when I was new to BSD, and thought (of course) I knew 
it all.  This is one of those points that BSD differs strongly from SYSV.
In a BSD system, the init process reads the /etc/ttys file, and keeps the
logins going.  There is no direct relation on BSD to the SYSV inittab
system, and the SYSV run levels don't exist on BSD, either.  For startup 
stuff, look at /etc/rc and /etc/rc.local, and spend some time with the 
init man page.  It's worth it.


: Thanks in advance!
: Clint

--
----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
7608 Topton St.             |
New Carrollton, MD 20784    | I run Journey2 (Freebsd 2.0) and n3lxx
(301) 459-2316              | (FreeBSD 1.1.5.1) and am I happy!
----------------------------+-----------------------------------------------