diff options
author | Chen Hanxiao <chenhanxiao@cn.fujitsu.com> | 2015-04-01 03:52:57 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-04-02 17:26:35 +0200 |
commit | 153bbb93ec7de97ad9d2c8dd1bc5d2141623f17a (patch) | |
tree | 21876faafe9234aac8c498604287000a9782b0c5 /Documentation | |
parent | 6f0a14303fec3bf9f670eaf07e73a28e566a0855 (diff) |
btrfs-progs doc: emphasis that only mounted device works for btrfs device stats
We provided format <path>|<device> 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 <chenhanxiao@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/btrfs-device.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/btrfs-device.txt b/Documentation/btrfs-device.txt index 66be6b34..075ccc5a 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)|<device> [<device>...]]:: 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] <path>|<device>:: -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 <path> or for a single <device>. + `Options` |