]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk-activate: detect whether PATH is mount or dir
authorSage Weil <sage@inktank.com>
Sun, 27 Jan 2013 04:33:16 +0000 (20:33 -0800)
committerSage Weil <sage@inktank.com>
Wed, 13 Feb 2013 20:35:43 +0000 (12:35 -0800)
commit191d5f7535f8d96d493e1b35b43a421c67c168ea
tree18be26f37725d05110f96020607ba62e4b68fbb4
parentfd4a921085a861e4aa428376219bb39055731f2b
ceph-disk-activate: detect whether PATH is mount or dir

remove in-the-way symlinks in /var/lib/ceph/osd

This is simpler.  Just detect what the path is and Do The Right Thing.

Closes #3341 (which wanted to make --mount the default)

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