This file is indexed.

/usr/bin/ceph-rbdnamer is in librbd1 0.41-1ubuntu2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/sh

POOL=`cat /sys/devices/rbd/$1/pool`
IMAGE=`cat /sys/devices/rbd/$1/name`
SNAP=`cat /sys/devices/rbd/$1/current_snap`
if [ "$SNAP" = "-" ]; then
	echo -n "$POOL $IMAGE"
else
	echo -n "$POOL $IMAGE@$SNAP"
fi