Deleted Added
sdiff udiff text old ( 1856 ) new ( 215334 )
full compact
1.\" Copyright (c) 1980, 1986, 1988 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)4.t 8.1 (Berkeley) 7/29/93
33.\" $FreeBSD: head/share/doc/smm/01.setup/4.t 215334 2010-11-15 05:25:51Z dougb $
34.\"
35.ds LH "Installing/Operating \*(4B
36.ds CF \*(Dy
37.ds RH "System setup
38.Sh 1 "System setup"
39.PP
40This section describes procedures used to set up a \*(4B UNIX system.
41These procedures are used when a system is first installed

--- 106 unchanged lines hidden (view full) ---

148files in the filesystem, made by the
149.Xr mknod (8)
150program and normally kept in the
151.Pn /dev
152directory.
153For all the devices supported by the distribution system, the
154files in
155.Pn /dev
156are created by devfs.
157.PP
158Determine the set of devices that you have and create a new
159.Pn /dev
160directory by mounting devfs.
161.Sh 3 "Building new system images"
162.PP
163The kernel configuration of each UNIX system is described by
164a single configuration file, stored in the
165.Pn /sys/<architecture>/conf
166directory.
167To learn about the format of this file and the procedure used
168to build system images,

--- 32 unchanged lines hidden (view full) ---

201access from directly-connected terminals other than the console,
202the file
203.Pn /etc/ttys
204(see
205.Xr ttys (5))
206must be edited.
207.PP
208To add a new terminal device, be sure the device is configured into the system
209and that the special files for the device exist in
210.Pn /dev .
211Then, enable the appropriate lines of
212.Pn /etc/ttys
213by setting the ``status''
214field to \fBon\fP (or add new lines).
215Note that lines in
216.Pn /etc/ttys
217are one-for-one with entries in the file of current users
218(see

--- 85 unchanged lines hidden (view full) ---

304printed on the console, though other actions may occur depending
305on the configuration information found in
306.Pn /etc/syslog.conf .
307.PP
308Finally note that you should change the names of any dialup
309terminals to ttyd?
310where ? is in [0-9a-zA-Z], as some programs use this property of the
311names to determine if a terminal is a dialup.
312.PP
313While it is possible to use truly arbitrary strings for terminal names,
314the accounting and noticeably the
315.Xr ps (1)
316command make good use of the convention that tty names
317(by default, and also after dialups are named as suggested above)
318are distinct in the last 2 characters.
319Change this and you may be sorry later, as the heuristic

--- 365 unchanged lines hidden ---