mirror of
https://github.com/ceph/ceph
synced 2024-12-16 16:39:21 +00:00
5bd85ee5aa
There is no need to depend on upstart for this. Signed-off-by: Sage Weil <sage@inktank.com>
6 lines
228 B
Plaintext
6 lines
228 B
Plaintext
# activate ceph-tagged partitions
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-9d25-41b8-afd0-062c0ceff05d", \
|
|
RUN+="/usr/sbin/ceph-disk-activate --mount /dev/$name"
|