diff options
author | David Sterba <dsterba@suse.cz> | 2015-01-02 17:51:06 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-01-03 02:30:36 +0100 |
commit | 18bf3f15a3cdac7055773d308d07408043c57b27 (patch) | |
tree | 8f6b594fb0a78bf006fe10c6bf971f0885d94825 /Documentation | |
parent | b4d03be6358d82754ec52ea674c08513da6134b6 (diff) |
btrfs-progs: doc filesystem, add unit suffixes to option descriptions
Reported-by: Chris Murphy <lists@colorremedies.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/btrfs-filesystem.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/btrfs-filesystem.txt b/Documentation/btrfs-filesystem.txt index 654847ca..24aa3a63 100644 --- a/Documentation/btrfs-filesystem.txt +++ b/Documentation/btrfs-filesystem.txt @@ -77,22 +77,23 @@ compress file contents while defragmenting defragment files recursively -f:::: flush filesystem after defragmenting --s <start>:::: +-s <start>[kKmMgGtTpPeE]:::: defragment only from byte <start> onward --l <len>:::: +-l <len>[kKmMgGtTpPeE]:::: defragment only up to <len> bytes --t <size>:::: +-t <size>[kKmMgGtTpPeE]:::: defragment only files at least <size> bytes big + -For <start>, <len>, <size> it is possible to append a suffix -like 'k' for 1 KBytes, 'm' for 1 MBytes... +For <start>, <len>, <size> it is possible to append +units designator: \'K', \'M', \'G', \'T', \'P', or \'E', which represent +KiB, MiB, GiB, TiB, PiB, or EiB, respectively. Case does not matter. + WARNING: defragmenting with kernels up to 2.6.37 will unlink COW-ed copies of data, don't use it if you use snapshots, have de-duplicated your data or made copies with `cp --reflink`. // Some wording are extracted by the resize2fs man page -*resize* [<devid>:][+/-]<size>[gkm]|[<devid>:]max <path>:: +*resize* [<devid>:][+/-]<size>[kKmMgGtTpPeE]|[<devid>:]max <path>:: Resize a filesystem identified by <path> for the underlying device devid *online*. + The devid can be found with *btrfs filesystem show* and @@ -103,8 +104,7 @@ by the quantity <size>. If no units are specified, the unit of the <size> parameter defaults to bytes. Optionally, the size parameter may be suffixed by one of the following units designators: \'K', \'M', \'G', \'T', \'P', or \'E', which represent -KiB, MiB, GiB, TiB, PiB, or EiB, respectively. - +KiB, MiB, GiB, TiB, PiB, or EiB, respectively. Case does not matter. + If \'max' is passed, the filesystem will occupy all available space on the device devid. |