390N/A#
390N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
390N/A# Use is subject to license terms.
390N/A#
390N/A# CDDL HEADER START
390N/A#
390N/A# The contents of this file are subject to the terms of the
390N/A# Common Development and Distribution License (the "License").
390N/A# You may not use this file except in compliance with the License.
390N/A#
390N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
390N/A# or http://www.opensolaris.org/os/licensing.
390N/A# See the License for the specific language governing permissions
390N/A# and limitations under the License.
390N/A#
390N/A# When distributing Covered Code, include this CDDL HEADER in each
390N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
390N/A# If applicable, add the following below this CDDL HEADER, with the
390N/A# fields enclosed by brackets "[]" replaced with your own identifying
390N/A# information: Portions Copyright [yyyy] [name of copyright owner]
390N/A#
390N/A# CDDL HEADER END
5575N/A#
390N/A# This file is used by ttyname(3C) to minimize search time
390N/A# during attempts to determine the name of a terminal device.
390N/A#
390N/A# This is done by providing the names of directories which
390N/A# are most likely to contain device entries for terminal
1413N/A# devices. These directories will be searched in the order
390N/A# listed prior to an exhaustive search of the rest of /dev.
390N/A#
618N/A# Each line contains the name of a directory (which must
844N/A# begin with "/dev") and (optionally) a set of flags which
1413N/A# modify the criteria used to determine a match. By default,
1413N/A# an exact match requires that the major/minor device number
1363N/A# (the M flag), the file system identifier (the F flag), and
4035N/A# the inode number (the I flag) all match. Normally, a partial
1413N/A# match on the major/minor device and the file system identifier
3817N/A# is accepted only after exhausting all entries under /dev.
3817N/A# By specifying only the M and F flags, an exact match will
3817N/A# be accepted regardless of the value of the inode number as
390N/A# soon as it is found. This is especially useful for cloned
1938N/A# devices, which generally will not match inode numbers.
1447N/A#
390N/A# For additional information see ttysrch(4).
390N/A#
390N/A# EXAMPLE:
5795N/A#
5795N/A# /dev/slan MF
5575N/A#
1413N/A# This would improve performance for Starlan network connections
3743N/A# if all Starlan network clone device entries were contained
5575N/A# in the /dev/slan directory.
5575N/A#
5575N/A/dev/pts
5575N/A/dev/vt
5575N/A/dev/term
5575N/A/dev/zcons
5575N/A