]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk-activate: avoid duplicating mounts if already activated
authorSage Weil <sage@inktank.com>
Tue, 30 Oct 2012 21:17:56 +0000 (14:17 -0700)
committerSage Weil <sage@inktank.com>
Thu, 1 Nov 2012 00:14:31 +0000 (17:14 -0700)
commitc435d314caeb5424c1f4482ad02f8a085317ad5b
treef11831972e54a7a452b400775c372a30aff5321c
parent3f08e96cc03e155bc557b4e0def82da980642cff
ceph-disk-activate: avoid duplicating mounts if already activated

If the given device is already mounted at the target location, do not
mount --move it again and create a bunch of dup entries in the /etc/mtab
and kernel mount table.

Signed-off-by: Sage Weil <sage@inktank.com>
src/ceph-disk-activate