mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
udev: Add /dev/bcache/by-label symlinks to cached devices
This commit is contained in:
parent
0b2587b5bc
commit
df844c04d1
@ -13,6 +13,8 @@ SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_FS_TYPE}=="bcache", \
|
|||||||
# Cached devices: symlink
|
# Cached devices: symlink
|
||||||
DRIVER=="bcache", ENV{CACHED_UUID}=="?*", \
|
DRIVER=="bcache", ENV{CACHED_UUID}=="?*", \
|
||||||
SYMLINK+="bcache/by-uuid/$env{CACHED_UUID}"
|
SYMLINK+="bcache/by-uuid/$env{CACHED_UUID}"
|
||||||
|
DRIVER=="bcache", ENV{CACHED_LABEL}=="?*", \
|
||||||
|
SYMLINK+="bcache/by-label/$env{CACHED_LABEL}"
|
||||||
|
|
||||||
LABEL="bcache_end"
|
LABEL="bcache_end"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user