Permalink
Browse files

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>
  • Loading branch information...
1 parent a5606ca commit 891025e539a92b5d75011e2e75c475fc0c272042 @jdurgin jdurgin committed Dec 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 udev/50-rbd.rules
View
@@ -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}"

0 comments on commit 891025e

Please sign in to comment.