Changeset efd5d1f
- Timestamp:
- 05/30/2016 04:37:33 AM (7 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 7.10, 7.10-rc1, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, arm, bdubbs/gcc13, cross-chap5, ml-11.0, multilib, nosym, old-trunk, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- Children:
- 26c49f6
- Parents:
- 9a0d741
- Location:
- chapter07
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/chapter07.xml
r9a0d741 refd5d1f 18 18 <!-- systemd --> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="introductiond.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="networkd.xml"/> 21 20 22 <!-- common --> 21 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udev.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="symlinks.xml"/> 22 25 23 26 <!-- sysv --> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="symlinks.xml"/>25 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="network.xml"/> 26 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="usage.xml"/> … … 28 30 29 31 <!-- systemd --> 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="networkd.xml"/>31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="symlinksd.xml"/>32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clock.xml"/> 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="consoled.xml"/> -
chapter07/symlinks.xml
r9a0d741 refd5d1f 6 6 ]> 7 7 8 <sect1 id="ch-scripts-symlinks" revision="sysv">8 <sect1 id="ch-scripts-symlinks"> 9 9 <?dbhtml filename="symlinks.html"?> 10 10 11 11 <title>Managing Devices</title> 12 12 13 <sect2 >13 <sect2 revision="sysv"> 14 14 15 15 <title>Network Devices</title> … … 114 114 115 115 </sect3> 116 <!-- 117 <sect3> 118 <title>Custom Naming in Systemd</title> 119 120 <para>Network interface names can also be customized with a set of 121 files spcific to systemd. A file with a name such as 10-eth0.link 122 in the /etc/systemd/network directory can set an interface name. All 123 files in the directory will be applied in lexical order. Files 124 in the /lib/systemd/network directory with the same name as those 125 in /etc/systemd/network will be overridden. See the man page 126 for systemd.link for a full explanation.</para> 127 128 <para>An example file looks like:</para> 129 130 <screen role="nodump">[Match] 131 MACAddress=12:34:56:78:9a:bc 132 Driver=brcmsmac 133 Path=pci-0000:02:00.0-* 134 Type=wlan 135 Virtualization=no 136 Host=my-laptop 137 Architecture=x86-64 138 139 [Link] 140 Name=wireless0 141 MTUBytes=1450 142 BitsPerSecond=10M 143 WakeOnLan=magic 144 MACAddress=cb:a9:87:65:43:21</screen> 145 146 <para>The [Match] section specifies when to apply the rule. In 147 the example above, the entries can be shortened to the minimum 148 needed to uniquely identify the network device. Similarly, 149 the [Link] section only needs to specify the changes from the 150 default that are desired. In many cases, the only thing needed is 151 the Name entry.</para> 152 153 </sect3> 154 --> 116 155 117 </sect2> 156 118 157 <sect2 >119 <sect2 revision="sysv"> 158 120 159 121 <title>CD-ROM symlinks</title>
Note:
See TracChangeset
for help on using the changeset viewer.