Revert "Merge PR #41134 into master"

This reverts commit 93bca2d0e9, reversing
changes made to 7e70b15c43.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2021-05-04 14:30:39 -07:00
parent 4854791236
commit 52faaf848e
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB
6 changed files with 13 additions and 40 deletions

View File

@ -2317,7 +2317,6 @@ fi
%files -n cephfs-shell
%{python3_sitelib}/cephfs_shell-*.egg-info
%{_bindir}/cephfs-shell
%{_mandir}/man8/cephfs-shell.8*
%endif
%files -n cephfs-top

View File

@ -1,3 +1,2 @@
usr/bin/cephfs-shell
usr/lib/python3*/dist-packages/cephfs_shell-*.egg-info
usr/share/man/man8/cephfs-shell.8

View File

@ -1,22 +1,10 @@
:orphan:
===================================================
cephfs-shell -- Shell-like tool talking with CephFS
===================================================
.. program:: cephfs-shell
Synopsis
========
| **cephfs-shell** [options] [command]
| **cephfs-shell** [options] -- [command, command,...]
Description
===========
=============
CephFS Shell
=============
CephFS Shell provides shell-like commands that directly interact with the
Ceph File System.
:term:`Ceph File System`.
This tool can be used in interactive mode as well as in non-interactive mode.
In former mode, cephfs-shell opens a shell session and after the given command
@ -29,20 +17,16 @@ return value.
Behaviour of CephFS Shell can be tweaked using ``cephfs-shell.conf``. Refer to
`CephFS Shell Configuration File`_ for details.
Options
=======
Usage :
.. option:: -c, --config FILE
cephfs-shell [options] [command]
cephfs-shell [options] -- [command, command,...]
Path to cephfs-shell.conf
Options :
-c, --config FILE Path to cephfs-shell.conf
-b, --batch FILE Path to batch file.
-t, --test FILE Path to transcript(s) in FILE for testing
.. option:: -b, --batch FILE
Path to batch file.
.. option:: -t, --test FILE
Path to transcript(s) in FILE for testing
.. note::
@ -532,9 +516,7 @@ Right now, CephFS Shell inherits all its options from its dependency ``cmd2``.
Therefore, these options might vary with the version of ``cmd2`` installed on
your system. Refer to ``cmd2`` docs for a description of these options.
Following is a sample ``cephfs-shell.conf``
.. code-block:: ini
Following is a sample ``cephfs-shell.conf``::
[cephfs-shell]
prompt = CephFS:~/>>>
@ -604,8 +586,3 @@ Following exit codes are returned by cephfs shell
+-----------------------------------------------+-----------+
| Interrupted function call | 22 |
+-----------------------------------------------+-----------+
Files
=====
``~/.cephfs-shell.conf``

View File

@ -115,7 +115,7 @@ Mounting CephFS
Mount CephFS using Kernel Driver <mount-using-kernel-driver>
Mount CephFS using FUSE <mount-using-fuse>
Mount CephFS on Windows <ceph-dokan>
Use the CephFS Shell <../../man/8/cephfs-shell>
Use the CephFS Shell <cephfs-shell>
Supported Features of Kernel Driver <kernel-features>
Manual: ceph-fuse <../../man/8/ceph-fuse>
Manual: mount.ceph <../../man/8/mount.ceph>

View File

@ -38,7 +38,6 @@ list(APPEND man_srcs
${osd_srcs}
${mon_srcs}
ceph-mds.rst
cephfs-shell.rst
cephfs-top.rst
librados-config.rst
cephadm.rst

View File

@ -25,7 +25,6 @@
man/8/cephadm
man/8/cephfs-top
man/8/cephfs-mirror
man/8/cephfs-shell
man/8/crushtool
man/8/librados-config
man/8/monmaptool