1
0
mirror of https://github.com/ceph/ceph synced 2024-12-22 11:31:55 +00:00
ceph/udev/50-rbd.rules
fiskn 781ae3bbda udev: add krbd readahead placeholder
Signed-off-by: Nick Fisk <nick@fisk.me.uk>
2016-09-16 14:43:31 +01:00

6 lines
380 B
Plaintext

KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c{1}/%c{2}"
KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="partition", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c{1}/%c{2}-part%n"
# This is a placeholder, uncomment and edit as necessary
#KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", ACTION=="add|change", ATTR{bdi/read_ahead_kb}="128"