From: Chen Hanxiao Date: Wed, 1 Apr 2015 07:52:57 +0000 (-0400) Subject: btrfs-progs doc: emphasis that only mounted device works for btrfs device stats X-Git-Tag: upstream/4.16.1~2326 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=153bbb93ec7de97ad9d2c8dd1bc5d2141623f17a;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs doc: emphasis that only mounted device works for btrfs device stats We provided format | in command line. But btrfs device stats doesn't work if device is not mounted. Also fix some tailing whitespace. Signed-off-by: Chen Hanxiao Signed-off-by: David Sterba --- diff --git a/Documentation/btrfs-device.txt b/Documentation/btrfs-device.txt index 66be6b3..075ccc5 100644 --- a/Documentation/btrfs-device.txt +++ b/Documentation/btrfs-device.txt @@ -83,14 +83,14 @@ Check device to see if it has all of it's devices in cache for mounting. *scan* [(--all-devices|-d)| [...]]:: Scan devices for a btrfs filesystem. + -If one or more devices are passed, these are scanned for a btrfs filesystem. +If one or more devices are passed, these are scanned for a btrfs filesystem. If no devices are passed, btrfs uses block devices containing btrfs filesystem as listed by blkid. -Finally, if '--all-devices' or '-d' is passed, all the devices under /dev are +Finally, if '--all-devices' or '-d' is passed, all the devices under /dev are scanned. *stats* [-z] |:: -Read and print the device IO stats for all devices of the filesystem +Read and print the device IO stats for all mounted devices of the filesystem identified by or for a single . + `Options`