标签:function cte less span ice 心得 lan otp 命名方式
systemd 和 udev 引入了一种新的网络设备命名方式:一致网络设备命名(CONSISTENT NETWORK DEVICE NAMING)。根据固件、拓扑、位置信息来设置固定名字,带来的好处是命名自动化,名字完全可预测,在硬件坏了以后更换也不会影响设备的命名,这样可以让硬件的更换无缝化。带来的不利是新的设备名称比传统的名称难以阅读,比如心得名称是enp5s0。
默认情况下,systemd会按照以下规则为网卡命名:
The names have two-character prefixes based on the type of interface:
en for Ethernet,wl for wireless LAN (WLAN),ww for wireless wide area network (WWAN).[f<function>] number in the device name, including the function 0 device.[P<domain>] number is only mentioned if the value is not 0. For example:ID_NET_NAME_PATH=P1enp5s0(c1) and USB interface descriptors (i0) are suppressed.标签:function cte less span ice 心得 lan otp 命名方式
原文地址:http://www.cnblogs.com/chia/p/7379775.html