Commit d914be27 authored by Martin Potthast's avatar Martin Potthast

Update fs.sh

parent 9e01b183
......@@ -64,7 +64,7 @@ cmd_snapshot() {
###
### : path : path : .
### : -t : --tag : str :: Snapshot tag
cmd_snapshot-list() {
cmd_snapshot_list() {
snappattern=^.
if [[ ! -z "$ARG_TAG" ]]; then
snappattern="${ARG_TAG}_*_*"
......@@ -105,7 +105,7 @@ cmd_snapshot-list() {
### : -n : --num : int : 10 : Number of snapshots to list
### : -d : --diff ::: Show diff before restoring the snapshot
### : -r : --rsync ::: Use rsync for the restoration (will delete files that are in TARGET but not in the selected snapshot)
cmd_snapshot-restore() {
cmd_snapshot_restore() {
if [[ ! -z "$ARG_DIFF" ]]; then
check_tools "git"
fi
......@@ -176,7 +176,7 @@ cmd_mount() {
}
### Mount CephFS in read-write mode to the default directory.
cmd_mount-rw() {
cmd_mount_rw() {
if [ ! -d "/mnt/ceph/storage" ]; then
logError "The default mount point does not exist: /mnt/ceph/storage"
exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment