1path_to_inst(4)                  File Formats                  path_to_inst(4)
2
3
4

NAME

6       path_to_inst - device instance number file
7

SYNOPSIS

9       /etc/path_to_inst
10
11

DESCRIPTION

13       /etc/path_to_inst records mappings of physical device names to instance
14       numbers.
15
16
17       The instance number of a device is encoded in its minor number, and  is
18       the  way  that a device driver determines which of the possible devices
19       that it may drive is referred to by a given special file.
20
21
22       In order to keep instance numbers persistent across reboots, the system
23       records them in /etc/path_to_inst.
24
25
26       This  file is read only at boot time, and is updated by add_drv(1M) and
27       devfsadm(1M).
28
29
30       Note that it is generally not necessary for the system administrator to
31       change this file, as the system will maintain it.
32
33
34       The  system administrator can change the assignment of instance numbers
35       by editing this file and doing a reconfiguration reboot.  However,  any
36       changes  made  in this file will be lost if add_drv(1M) or devfsadm(1M)
37       is run before the system is rebooted.
38
39
40       Each instance entry is a single line of the form:
41
42         "physical name" instance number "driver binding name"
43
44
45
46       where
47
48       physical name          is the absolute physical pathname of  a  device.
49                              This pathname must be enclosed in double quotes.
50
51
52       instance number        is a decimal or hexadecimal number.
53
54
55       driver binding name    is the name used to determine the driver for the
56                              device. This name may be a  driver  alias  or  a
57                              driver  name.  The  driver  binding name must be
58                              enclosed in double quotes.
59
60

EXAMPLES

62       Example 1 Sample path_to_inst Entries
63
64
65       Here are some sample path_to_inst entries:
66
67
68         "/iommu@f,e0000000" 0 "iommu"
69         "/iommu@f,e0000000/sbus@f,e0001000" 0 "sbus"
70         "/iommu@f,e0000000/sbus@f,e0001000/sbusmem@e,0" 14 "sbusmem"
71         "/iommu@f,e0000000/sbus@f,e0001000/sbusmem@f,0" 15 "sbusmem"
72         "/iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010" 0 "ledma"
73         "/obio/serial@0,100000" 0 "zs"
74         "/SUNW,sx@f,80000000" 0 "SUNW,sx"
75
76
77

FILES

79       /etc/path_to_inst    Mapping of physical device names to instance  num‐
80                            bers.
81
82

SEE ALSO

84       add_drv(1M), boot(1M), devfsadm(1M), mknod(1M)
85

WARNINGS

87       If  the  file is removed the system may not be bootable (as it may rely
88       on information found in this  file  to  find  the  root,  usr  or  swap
89       device). If it does successfully boot, it will regenerate the file, but
90       after rebooting devices may end up having different minor numbers  than
91       they  did  before, and special files created via mknod(1M) may refer to
92       different devices than expected.
93
94
95       For the same reasons, changes should not be made to this  file  without
96       careful consideration.
97

NOTES

99       This document does not constitute an API. path_to_inst may not exist or
100       may have a different content or interpretation in a future release. The
101       existence  of  this  notice does not imply that any other documentation
102       that lacks this notice constitutes an API.
103
104
105
106SunOS 5.11                        18 May 2007                  path_to_inst(4)
Impressum