]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: create the data directory if it does not exist
authorLoic Dachary <loic@dachary.org>
Wed, 1 Jan 2014 21:11:30 +0000 (22:11 +0100)
committerLoic Dachary <loic@dachary.org>
Fri, 3 Jan 2014 15:30:41 +0000 (16:30 +0100)
commit306b099ab093bfac466d68fe1cb87367bc01e577
treef4e848cd2377320b59b75c2c9494fed02f485756
parent0fcc081858fae4febbb6a613a93cfbbcedd5a320
ceph-disk: create the data directory if it does not exist

Instead of failing if the OSD data directory does not exist, create
it. Only do so if the data directory is not enforced to be a device via
the use of the --data-dev flag. The directory is not recursively created.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/ceph-disk