From a418b24318723c0a45fe1f1b76b9286baa36c537 Mon Sep 17 00:00:00 2001 From: Li Zefan Date: Thu, 18 Nov 2010 03:49:56 +0000 Subject: Update for lzo support [Btrfs-Progs][V2] Update for lzo support - Add incompat flag, otherwise btrfs-progs will report error when operating on btrfs filesystems mounted with lzo option. - Update man page. - Allow to turn on lzo compression for defrag operation: # btrfs filesystem defragment -c[zlib, lzo] Note: "-c zlib" will fail, because that's how getopt() works for optional arguments. Signed-off-by: Li Zefan Signed-off-by: Chris Mason --- btrfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'btrfs.c') diff --git a/btrfs.c b/btrfs.c index 46314cf..1b4f403 100644 --- a/btrfs.c +++ b/btrfs.c @@ -65,7 +65,7 @@ static struct Command commands[] = { "List the recently modified files in a filesystem." }, { do_defrag, -1, - "filesystem defragment", "[-vcf] [-s start] [-l len] [-t size] | [|...]\n" + "filesystem defragment", "[-vf] [-c[zlib,lzo]] [-s start] [-l len] [-t size] | [|...]\n" "Defragment a file or a directory." }, { do_set_default_subvol, 2, -- cgit v1.2.1