.TH "CRBDNAMER" "8" "September 09, 2011" "dev" "Ceph" .SH NAME crbdnamer \- udev helper to name RBD devices . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .\" Man page generated from reStructeredText. . .SH SYNOPSIS .nf \fBcrbdnamer\fP \fInum\fP .fi .sp .SH DESCRIPTION .sp \fBcrbdnamer\fP prints the pool and image name for the given RBD devices to stdout. It is used by \fIudev\fP (using a rule like the one below) to set up a device symlink. .sp .nf .ft C KERNEL=="rbd[0\-9]*", PROGRAM="/usr/bin/crbdnamer %n", SYMLINK+="rbd/%c{1}/%c{2}:%n" .ft P .fi .SH AVAILABILITY .sp \fBcrbdnamer\fP is part of the Ceph distributed file system. Please refer to the Ceph wiki at \fI\%http://ceph.newdream.net/wiki\fP for more information. .SH SEE ALSO .sp \fBrbd\fP(8), \fBceph\fP(8) .SH COPYRIGHT 2011, New Dream Network .\" Generated by docutils manpage writer. .\" .