comm: add -Wall
[unleashed.git] / usr / src / cmd / Adm / ttysrch
blobb4e2195503102c5298d83781129e19090c8cfaa8
2 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3 # Use is subject to license terms.
5 # CDDL HEADER START
7 # The contents of this file are subject to the terms of the
8 # Common Development and Distribution License (the "License").
9 # You may not use this file except in compliance with the License.
11 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 # or http://www.opensolaris.org/os/licensing.
13 # See the License for the specific language governing permissions
14 # and limitations under the License.
16 # When distributing Covered Code, include this CDDL HEADER in each
17 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 # If applicable, add the following below this CDDL HEADER, with the
19 # fields enclosed by brackets "[]" replaced with your own identifying
20 # information: Portions Copyright [yyyy] [name of copyright owner]
22 # CDDL HEADER END
24 #       This file is used by ttyname(3C) to minimize search time
25 #       during attempts to determine the name of a terminal device.
27 #       This is done by providing the names of directories which
28 #       are most likely to contain device entries for terminal
29 #       devices. These directories will be searched in the order
30 #       listed prior to an exhaustive search of the rest of /dev.
32 #       Each line contains the name of a directory (which must
33 #       begin with "/dev") and (optionally) a set of flags which
34 #       modify the criteria used to determine a match. By default,
35 #       an exact match requires that the major/minor device number
36 #       (the M flag), the file system identifier (the F flag), and
37 #       the inode number (the I flag) all match.  Normally, a partial
38 #       match on the major/minor device and the file system identifier
39 #       is accepted only after exhausting all entries under /dev.
40 #       By specifying only the M and F flags, an exact match will
41 #       be accepted regardless of the value of the inode number as
42 #       soon as it is found.  This is especially useful for cloned
43 #       devices, which generally will not match inode numbers.
45 #       For additional information see ttysrch(4).
47 # EXAMPLE:
49 #       /dev/slan       MF
51 #       This would improve performance for Starlan network connections
52 #       if all Starlan network clone device entries were contained
53 #       in the /dev/slan directory.
55 /dev/pts
56 /dev/vt
57 /dev/term
58 /dev/zcons