文件操作 - 70-persistent-ipoib.rules
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/udev/rules.d/70-persistent-ipoib.rules
编辑文件内容
# This is a sample udev rules file that demonstrates how to get udev to # set the name of IPoIB interfaces to whatever you wish. There is a # 16 character limit on network device names. # # Important items to note: ATTR{type}=="32" is IPoIB interfaces, and the # ATTR{address} match must start with ?* and only reference the last 8 # bytes of the address or else the address might not match the variable QPN # portion. # # Modern udev is case sensitive and all addresses need to be in lower case. # # ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{type}=="32", ATTR{address}=="?*00:02:c9:03:00:31:78:f2", NAME="mlx4_ib3"
修改文件时间
将文件时间修改为当前时间的前一年
删除文件