diff mbox

[2/5] btrfs-progs: doc: remove text for unmerged features

Message ID 7f7c13f48696e1d26765f43b37711968837ffc5b.1400515868.git.dsterba@suse.cz (mailing list archive)
State Accepted
Delegated to: David Sterba
Headers show

Commit Message

David Sterba May 19, 2014, 4:20 p.m. UTC
The asciidoc conversion was done on a development branch and there are
portions of text that do not reflect the code.

Signed-off-by: David Sterba <dsterba@suse.cz>
---
 Documentation/btrfs-device.txt     |  5 -----
 Documentation/btrfs-filesystem.txt | 46 +-------------------------------------
 2 files changed, 1 insertion(+), 50 deletions(-)
diff mbox

Patch

diff --git a/Documentation/btrfs-device.txt b/Documentation/btrfs-device.txt
index 7a6bce5c650a..9cd8ad081a5a 100644
--- a/Documentation/btrfs-device.txt
+++ b/Documentation/btrfs-device.txt
@@ -86,11 +86,6 @@  filesystem as listed by blkid.
 Finally, if '--all-devices' or '-d' is passed, all the devices under /dev are 
 scanned.
 
-'disk-usage' [-b] <path> [<path>..]::
-Show which chunks are in a device.
-+
-If '-b' is given, byte will be set as unit.
-
 'ready' <device>::
 Check device to see if it has all of it's devices in cache for mounting.
 
diff --git a/Documentation/btrfs-filesystem.txt b/Documentation/btrfs-filesystem.txt
index 4ac8711f62c0..63e3ef676cd3 100644
--- a/Documentation/btrfs-filesystem.txt
+++ b/Documentation/btrfs-filesystem.txt
@@ -17,47 +17,8 @@  resizing, defragment.
 
 SUBCOMMAND
 ----------
-'df' [-b] <path> [<path>...]::
+'df' <path> [<path>...]::
 Show space usage information for a mount point.
-+
-If '-b' is given, then byte is used as unit. Default unit will be
-human-readable unit such as KiB/MiB/GiB.
-+
-The command 'btrfs filesystem df' is used to query how many space on the 
-disk(s) are used and an estimation of the free
-space of the filesystem.
-The output of the command 'btrfs filesystem df' shows:
-
-`Disk size`::::
-the total size of the disks which compose the filesystem.
-
-`Disk allocated`::::
-the size of the area of the disks used by the chunks.
-
-`Disk unallocated`::::
-the size of the area of the disks which is free (i.e.
-the differences of the values above).
-
-`Used`::::
-the portion of the logical space used by the file and metadata.
-
-`Free (estimated)`::::
-the estimated free space available: i.e. how many space can be used
-by the user. The evaluation cannot be rigorous because it depends by the
-allocation policy (DUP, Single, RAID1...) of the metadata and data chunks. +
-If every chunk is stored as "Single" the sum of the free (estimated) space
-and the used space  is equal to the disk size.
-Otherwise if all the chunk are mirrored (raid1 or raid10) or duplicated
-the sum of the free (estimated) space and the used space is
-half of the disk size. Normally the free (estimated) is between
-these two limits.
-
-`Data to disk ratio`::::
-the ratio betwen the logical size (i.e. the space available by
-the chunks) and the disk allocated (by the chunks). Normally it is 
-lower than 100% because the metadata is duplicated for security reasons.
-If all the data and metadata are duplicated (or have a profile like RAID1)
-the Data to disk ratio could be 50%.
 
 'show' [--mounted|--all-devices|<path>|<uuid>|<device>|<label>]::
 Show the btrfs filesystem with some additional info.
@@ -140,11 +101,6 @@  Show or update the label of a filesystem.
 If a newlabel optional argument is passed, the label is changed.
 NOTE: the maximum allowable length shall be less than 256 chars
 
-'disk-usage' [-tb] path [path...]::
-Show in which disk the chunks are allocated. +
-If '-b' is given,  set byte as unit;
-If '-t' is given, show data in tabular format.
-
 EXIT STATUS
 -----------
 'btrfs filesystem' returns a zero exist status if it succeeds. Non zero is