From: David Sterba Date: Mon, 19 May 2014 15:18:24 +0000 (+0200) Subject: btrfs-progs: doc: remove text for unmerged features X-Git-Tag: upstream/4.16.1~2843 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f7c13f48696e1d26765f43b37711968837ffc5b;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: doc: remove text for unmerged features 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 --- diff --git a/Documentation/btrfs-device.txt b/Documentation/btrfs-device.txt index 7a6bce5..9cd8ad0 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] [..]:: -Show which chunks are in a device. -+ -If '-b' is given, byte will be set as unit. - 'ready' :: 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 4ac8711..63e3ef6 100644 --- a/Documentation/btrfs-filesystem.txt +++ b/Documentation/btrfs-filesystem.txt @@ -17,47 +17,8 @@ resizing, defragment. SUBCOMMAND ---------- -'df' [-b] [...]:: +'df' [...]:: 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||||