xref: /titanic_51/usr/src/cmd/bnu/Sysfiles (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"	/* from SVR4 bnu:Sysfiles 1.3 */
2*7c478bd9Sstevel@tonic-gate#
3*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
6*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
7*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
8*7c478bd9Sstevel@tonic-gate# with the License.
9*7c478bd9Sstevel@tonic-gate#
10*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
12*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
13*7c478bd9Sstevel@tonic-gate# and limitations under the License.
14*7c478bd9Sstevel@tonic-gate#
15*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
16*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
18*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
19*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
20*7c478bd9Sstevel@tonic-gate#
21*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
22*7c478bd9Sstevel@tonic-gate#
23*7c478bd9Sstevel@tonic-gate#
24*7c478bd9Sstevel@tonic-gate#	Sysfiles provides a means of specifying different Systems,
25*7c478bd9Sstevel@tonic-gate#	Devices and Dialers files for uucico and cu.  This is useful
26*7c478bd9Sstevel@tonic-gate#	for certain networks where, for example, requests for login
27*7c478bd9Sstevel@tonic-gate#	service might be accepted on a different address than requests
28*7c478bd9Sstevel@tonic-gate#	for uucico service (hence different Systems files), or where
29*7c478bd9Sstevel@tonic-gate#	there are different chat scripts to request each service
30*7c478bd9Sstevel@tonic-gate#	(hence different Dialers files).
31*7c478bd9Sstevel@tonic-gate#
32*7c478bd9Sstevel@tonic-gate#	Another use of Sysfiles is to split large Systems files into
33*7c478bd9Sstevel@tonic-gate#	smaller, more manageable files (e.g., local and global Systems
34*7c478bd9Sstevel@tonic-gate#	files).
35*7c478bd9Sstevel@tonic-gate#
36*7c478bd9Sstevel@tonic-gate#	FORMAT:
37*7c478bd9Sstevel@tonic-gate#
38*7c478bd9Sstevel@tonic-gate#	service=<service name>	systems=<systems file list> \
39*7c478bd9Sstevel@tonic-gate#				devices=<devices file list> \
40*7c478bd9Sstevel@tonic-gate#				dialers=<dialers file list>
41*7c478bd9Sstevel@tonic-gate#
42*7c478bd9Sstevel@tonic-gate#	Where service name is "uucico" or "cu".  Each file list is a list
43*7c478bd9Sstevel@tonic-gate#	of colon-separated file names.  File names are relative to
44*7c478bd9Sstevel@tonic-gate#	/etc/uucp unless a full path name is given.  Files are searched
45*7c478bd9Sstevel@tonic-gate#	in the order that they appear in the file list.
46*7c478bd9Sstevel@tonic-gate#
47*7c478bd9Sstevel@tonic-gate#	The defaults are the usual uucp files: /etc/uucp/Systems,
48*7c478bd9Sstevel@tonic-gate#	/etc/uucp/Devices and /etc/uucp/Dialers.
49*7c478bd9Sstevel@tonic-gate#
50*7c478bd9Sstevel@tonic-gate#	EXAMPLE 1:
51*7c478bd9Sstevel@tonic-gate#	This example uses different systems and dialers files to separate
52*7c478bd9Sstevel@tonic-gate#	the uucico- and cu-specific info, with information that they
53*7c478bd9Sstevel@tonic-gate#	use in common still in the "usual" Systems and Dialers files.
54*7c478bd9Sstevel@tonic-gate#
55*7c478bd9Sstevel@tonic-gate#	service=uucico	systems=Systems.cico:Systems \
56*7c478bd9Sstevel@tonic-gate#			dialers=Dialers.cico:Dialers
57*7c478bd9Sstevel@tonic-gate#	service=cu	systems=Systems.cu:Systems \
58*7c478bd9Sstevel@tonic-gate#			dialers=Dialers.cu:Dialers
59*7c478bd9Sstevel@tonic-gate#
60*7c478bd9Sstevel@tonic-gate#	EXAMPLE 2:
61*7c478bd9Sstevel@tonic-gate#	This example uses the same systems files for uucico and cu,
62*7c478bd9Sstevel@tonic-gate#	but has split the Systems file into local, company-wide,
63*7c478bd9Sstevel@tonic-gate#	and global files.
64*7c478bd9Sstevel@tonic-gate#
65*7c478bd9Sstevel@tonic-gate#	service=uucico	systems=Systems.local:Systems.company:Systems
66*7c478bd9Sstevel@tonic-gate#	service=cu	systems=Systems.local:Systems.company:Systems
67