1 SUBSYSTEM!="block", GOTO="pss_end"
2 ACTION!="add|change", GOTO="pss_end"
3 # Also don't process disks that are slated to be a multipath device
4 ENV{DM_MULTIPATH_DEVICE_PATH}=="?*", GOTO="pss_end"
6 ACTION=="change", KERNEL=="dm-[0-9]*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}!="1", GOTO="do_pss"
7 KERNEL=="cciss[0-9]*", GOTO="do_pss"
8 KERNEL=="nbd[0-9]*", GOTO="do_pss"
9 KERNEL=="md[0-9]*|md_d[0-9]*|md/*", GOTO="do_pss"
14 # by-path (parent device path)
15 ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="", DEVPATH!="*/virtual/*", IMPORT PATH_ID
16 ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}"
17 ENV{DEVTYPE}=="partition", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%n"
19 # by-label/by-uuid links (filesystem metadata)
20 ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
21 ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"