差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 | 上一修订版两侧同时换到之后的修订记录 | ||
public:it:linux:udev [2023/11/30 13:24] – oakfire | public:it:linux:udev [2023/11/30 13:25] – oakfire | ||
---|---|---|---|
行 4: | 行 4: | ||
- `KERNEL / SUBSYSTEM / DRIVER / ATTR` 只匹配本设备不匹配父设备. | - `KERNEL / SUBSYSTEM / DRIVER / ATTR` 只匹配本设备不匹配父设备. | ||
- 字符匹配: | - 字符匹配: | ||
- | ``` | + | ```bash |
* - match any character, zero or more times | * - match any character, zero or more times | ||
? - match any character exactly once | ? - match any character exactly once | ||
行 11: | 行 11: | ||
- 替换符 | - 替换符 | ||
- | ``` | + | ```bash |
$kernel, %k The kernel name for this device. | $kernel, %k The kernel name for this device. | ||
$number, %n The kernel number for this device. For example, " | $number, %n The kernel number for this device. For example, " |