btrfsprogs/0187-btrfs-progs-document-csize-in-manpage.patch
David Sterba b3ba9dc0aa - add btrfs-debug-tree to initrd
- adjust fs size to correct size (bnc#744593)
- man page documentation updates
- do not package obsolete utilities
- mkfs: store correct size of device in superblock (bnc#730103)
- updated restriper/balance commands to match kernel version
- device scanning fixes for dm and multipath (bnc#749540)

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=121
2012-04-06 11:43:24 +00:00

42 lines
1.1 KiB
Diff

From ffa4e18f557d39e5d4b2357a40e073607e0c98a0 Mon Sep 17 00:00:00 2001
From: David Sterba <dsterba@suse.cz>
Date: Mon, 26 Mar 2012 18:14:20 +0200
Subject: [PATCH 04/10] btrfs-progs: document csize in manpage
Signed-off-by: David Sterba <dsterba@suse.cz>
---
btrfs_cmds.c | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/btrfs_cmds.c b/btrfs_cmds.c
index 0a741f0..17c3f8e 100644
--- a/btrfs_cmds.c
+++ b/btrfs_cmds.c
@@ -2090,6 +2090,23 @@ out:
return ret;
}
+/**** man: btrfs filesystem csize
+ *
+ * \Bbtrfs\b \Bfilesystem csize [-s \Istart\i\B] [-e \Iend\i\B] <file>
+ *
+ * Read regular and compressed size of extents in the range \I[start,end)\i.
+ *
+ * Read regular and compressed size of extents in the range \I[start,end)\i.
+ *
+ * \B-s\b\I start\i
+ * range start inclusive, accepts K/M/G modifiers
+ * \B-e\b\I end\i
+ * range end exclusive, accepts K/M/G modifiers
+ *
+ * No range specified will read the whole file, no end of range reads up to
+ * the end of file.
+ ****/
+
int do_compr_size(int argc, char **argv)
{
int ret;
--
1.7.6.233.gd79bc