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