}
}
- if (prefix == "mds newfs") {
- // newfs is the legacy command that in single-filesystem times
- // used to be equivalent to doing an "fs rm ; fs new". We
- // can't do this in a sane way in multi-filesystem world.
- ss << "'newfs' no longer available. Please use 'fs new'.";
- r = -EINVAL;
- goto out;
- }
-
r = filesystem_command(op, prefix, cmdmap, ss);
if (r >= 0) {
goto out;
"name=data,type=CephInt,range=0 " \
"name=sure,type=CephChoices,strings=--yes-i-really-mean-it,req=false", \
"make new filesystem using pools <metadata> and <data>", \
- "mds", "rw", "cli,rest", FLAG(DEPRECATED))
+ "mds", "rw", "cli,rest", FLAG(OBSOLETE))
COMMAND("fs new " \
"name=fs_name,type=CephString " \
"name=metadata,type=CephString " \