mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
udev: drop device number from name
The device number depends on how many rbd images have been mapped. Removing it makes the name determined solely by the name, image, and snapshot that are mapped, for ease of scripting or persistence across reboots. Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
This commit is contained in:
parent
a5606ca435
commit
891025e539
@ -1 +1 @@
|
||||
KERNEL=="rbd[0-9]*", PROGRAM="/usr/bin/ceph-rbdnamer %n", SYMLINK+="rbd/%c{1}/%c{2}:%n"
|
||||
KERNEL=="rbd[0-9]*", PROGRAM="/usr/bin/ceph-rbdnamer %n", SYMLINK+="rbd/%c{1}/%c{2}"
|
||||
|
Loading…
Reference in New Issue
Block a user